1
0
Fork 0
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:
Rene Schallner 2024-04-21 13:54:51 +02:00 committed by GitHub
commit 740ddab2a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View file

@ -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) {

View file

@ -2,4 +2,3 @@
.name = "facil.io",
.version = "0.0.12",
}