mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
Merge branch 'zig-0.12.0' into zig-0.12.0
This commit is contained in:
commit
740ddab2a1
2 changed files with 1 additions and 1 deletions
|
@ -55,6 +55,7 @@ fn userIdFromPath(self: *Self, path: []const u8) ?usize {
|
|||
|
||||
fn getUser(e: *zap.Endpoint, r: zap.Request) void {
|
||||
const self: *Self = @fieldParentPtr("ep", e);
|
||||
|
||||
if (r.path) |path| {
|
||||
// /users
|
||||
if (path.len == e.settings.path.len) {
|
||||
|
|
|
@ -2,4 +2,3 @@
|
|||
.name = "facil.io",
|
||||
.version = "0.0.12",
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue