From 0dec3df53867ff19514ef5efc15c33a268171f1e Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Fri, 22 Oct 2021 15:35:42 -0700 Subject: [PATCH] include both access_token and user response in callback options --- src/lib.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.zig b/src/lib.zig index f16f9fec1007a1765ac2869bd0cab53476bbb763..7281df89bc7447629ac6b3e6f8f2b6542b4b1a4f 100644 --- a/src/lib.zig +++ b/src/lib.zig @@ -275,7 +275,7 @@ pub fn Handlers(comptime T: type) type { const id = try fixId(alloc, val2.get(client.provider.id_prop).?); const name = val2.get(client.provider.name_prop).?.String; - try T.saveInfo(response, request, client.provider, id, name, val2); + try T.saveInfo(response, request, client.provider, id, name, val, val2); try response.headers.put("Location", T.doneUrl); try response.writeHeader(.found); -- 2.54.0