Skip to content

Commit

Permalink
fix: fetch user
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza committed Dec 13, 2021
1 parent 96ef609 commit 787cc04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ export class Auth {
.then((result) => {
this.setUser(result)
})
.catch(() => {
this.setUser(null)
})
}

fetchUserOnce (...args) {
Expand Down

0 comments on commit 787cc04

Please sign in to comment.