Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
fix: add all fields to json
Browse files Browse the repository at this point in the history
  • Loading branch information
dword-design committed Sep 9, 2020
1 parent 7d0dca9 commit d362ff0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Expand Up @@ -3,6 +3,7 @@ import jwtDecode from 'jwt-decode'
export default async token => {
const user = token |> jwtDecode |> await
return {
...user,
email: user.email,
emailVerified: user.email_verified,
id: user.user_id,
Expand Down

0 comments on commit d362ff0

Please sign in to comment.