Skip to content

Commit 3fbed1c

Browse files
committed
Update readme.md
1 parent ce53a83 commit 3fbed1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const authRef = new Authorizer({
6363
});
6464
if (data && data.access_token) {
6565
// get user profile using the access token
66-
const user = await authorizerRef.getProfile({
66+
const { data: user, errors } = await authorizerRef.getProfile({
6767
Authorization: `Bearer ${res.access_token}`,
6868
});
6969

0 commit comments

Comments
 (0)