Skip to content

Commit

Permalink
fix(web): updated getTokenDetails was returning undefined picture
Browse files Browse the repository at this point in the history
  • Loading branch information
foundrium committed Feb 18, 2022
1 parent 722e831 commit 4ab8b92
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/web/src/api/hasteClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ export class HasteClient {
const decoded = jwtDecode<JwtPayload>(accessToken);
return {
token: accessToken,
// eslint-disable-next-line dot-notation
picture: decoded['picture'],
picture: decoded['https://hastearcade.com/picture'],
displayName: decoded['https://hastearcade.com/displayName'],
isAuthenticated: true,
} as HasteAuthentication;
Expand Down

0 comments on commit 4ab8b92

Please sign in to comment.