authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-10-22 15:35:42 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-10-22 15:35:42 -07:00
log0dec3df53867ff19514ef5efc15c33a268171f1e
treefed8e1bdb499c0ff9c45f3b527ddce952afb2bfe
parentd0799b0e4b5cf986473d0041fd5a16cd98ad3852

include both access_token and user response in callback options


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

src/lib.zig+1-1
......@@ -275,7 +275,7 @@ pub fn Handlers(comptime T: type) type {
275275
276276 const id = try fixId(alloc, val2.get(client.provider.id_prop).?);
277277 const name = val2.get(client.provider.name_prop).?.String;
278 try T.saveInfo(response, request, client.provider, id, name, val2);
278 try T.saveInfo(response, request, client.provider, id, name, val, val2);
279279
280280 try response.headers.put("Location", T.doneUrl);
281281 try response.writeHeader(.found);