| ... | @@ -232,7 +232,7 @@ pub fn Handlers(comptime T: type) type { | ... | @@ -232,7 +232,7 @@ pub fn Handlers(comptime T: type) type { |
| 232 | _ = args; | 232 | _ = args; |
| 233 | | 233 | |
| 234 | const alloc = request.arena; | 234 | const alloc = request.arena; |
| 235 | const query = try request.context.url.queryParameters(alloc); | 235 | const query = try request.context.uri.queryParameters(alloc); |
| 236 | | 236 | |
| 237 | if (query.get("with")) |with| { | 237 | if (query.get("with")) |with| { |
| 238 | const client = clientByProviderId(Self.clients, with) orelse return try fail(response, "Client with that ID not found!\n", .{}); | 238 | 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 { | ... | @@ -255,7 +255,7 @@ pub fn Handlers(comptime T: type) type { |
| 255 | _ = args; | 255 | _ = args; |
| 256 | | 256 | |
| 257 | const alloc = request.arena; | 257 | const alloc = request.arena; |
| 258 | const query = try request.context.url.queryParameters(alloc); | 258 | const query = try request.context.uri.queryParameters(alloc); |
| 259 | | 259 | |
| 260 | const state = query.get("state") orelse return try fail(response, "", .{}); | 260 | const state = query.get("state") orelse return try fail(response, "", .{}); |
| 261 | const client = clientByProviderId(Self.clients, state) orelse return try fail(response, "error: No handler found for provider: {s}\n", .{state}); | 261 | const client = clientByProviderId(Self.clients, state) orelse return try fail(response, "error: No handler found for provider: {s}\n", .{state}); |