From a35aa9962c426fb56c3135a5c9c6e385f94af222 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Tue, 1 Feb 2022 03:30:08 -0800 Subject: [PATCH] update to latest apple_pie --- src/lib.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.zig b/src/lib.zig index de0314dc6df429574b5c6bddd2bfa7e24e2393cb..7733504ed8eb16329f8249ca47ffd5e7bd9f13a2 100644 --- a/src/lib.zig +++ b/src/lib.zig @@ -232,7 +232,7 @@ pub fn Handlers(comptime T: type) type { _ = args; const alloc = request.arena; - const query = try request.context.url.queryParameters(alloc); + const query = try request.context.uri.queryParameters(alloc); if (query.get("with")) |with| { const client = clientByProviderId(Self.clients, with) orelse return try fail(response, "Client with that ID not found!\n", .{}); @@ -255,7 +255,7 @@ pub fn Handlers(comptime T: type) type { _ = args; const alloc = request.arena; - const query = try request.context.url.queryParameters(alloc); + const query = try request.context.uri.queryParameters(alloc); const state = query.get("state") orelse return try fail(response, "", .{}); const client = clientByProviderId(Self.clients, state) orelse return try fail(response, "error: No handler found for provider: {s}\n", .{state}); -- 2.54.0