Skip to content

Commit

Permalink
fix error not passing in req
Browse files Browse the repository at this point in the history
  • Loading branch information
WilsonLe committed Dec 16, 2024
1 parent e144db5 commit 59d5a13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "payload-oauth2",
"version": "1.0.8",
"version": "1.0.9",
"type": "module",
"homepage:": "https://payloadcms.com",
"repository": "https://github.com/WilsonLe/payload-oauth2",
Expand Down
2 changes: 1 addition & 1 deletion src/callback-endpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const createCallbackEndpoint = (
// /////////////////////////////////////
// get user info
// /////////////////////////////////////
const userInfo = await pluginOptions.getUserInfo(access_token);
const userInfo = await pluginOptions.getUserInfo(access_token, req);

// /////////////////////////////////////
// ensure user exists
Expand Down

0 comments on commit 59d5a13

Please sign in to comment.