authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-02-11 02:04:52 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-02-11 02:04:52 -08:00
log5278a31e9a4437cfad3fe451051eda736f47b584
tree761d5c202aa76bc20a779667058f616cb78638e2
parent3ff196f05862e08263bc49339b3704704804813a

update to latest apple_pie

https://github.com/Luukdegram/apple_pie/commit/5399084b774a609b6058b700ee5777f5d4376733

1 files changed, 4 insertions(+), 4 deletions(-)

src/lib.zig+4-4
...@@ -228,8 +228,8 @@ pub fn Handlers(comptime T: type) type {...@@ -228,8 +228,8 @@ pub fn Handlers(comptime T: type) type {
228 pub var clients: []Client = &.{};228 pub var clients: []Client = &.{};
229 pub var callbackPath: string = "";229 pub var callbackPath: string = "";
230230
231 pub fn login(_: T.Ctx, response: *http.Response, request: http.Request, args: struct {}) !void {231 pub fn login(_: T.Ctx, response: *http.Response, request: http.Request, captures: ?*const anyopaque) !void {
232 _ = args;232 std.debug.assert(captures == null);
233233
234 const alloc = request.arena;234 const alloc = request.arena;
235 const query = try request.context.uri.queryParameters(alloc);235 const query = try request.context.uri.queryParameters(alloc);
...@@ -251,8 +251,8 @@ pub fn Handlers(comptime T: type) type {...@@ -251,8 +251,8 @@ pub fn Handlers(comptime T: type) type {
251 });251 });
252 }252 }
253253
254 pub fn callback(_: T.Ctx, response: *http.Response, request: http.Request, args: struct {}) !void {254 pub fn callback(_: T.Ctx, response: *http.Response, request: http.Request, captures: ?*const anyopaque) !void {
255 _ = args;255 std.debug.assert(captures == null);
256256
257 const alloc = request.arena;257 const alloc = request.arena;
258 const query = try request.context.uri.queryParameters(alloc);258 const query = try request.context.uri.queryParameters(alloc);