Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lakhansamani committed Jan 2, 2024
1 parent ce53a83 commit 3fbed1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const authRef = new Authorizer({
});
if (data && data.access_token) {
// get user profile using the access token
const user = await authorizerRef.getProfile({
const { data: user, errors } = await authorizerRef.getProfile({
Authorization: `Bearer ${res.access_token}`,
});
Expand Down

0 comments on commit 3fbed1c

Please sign in to comment.