Skip to content

Commit

Permalink
Merge pull request #5734 from adrien-may/patch-2
Browse files Browse the repository at this point in the history
📝 Update getIdentity signature in Authentication.md
  • Loading branch information
djhi authored Jan 6, 2021
2 parents b1a6670 + b44ae67 commit ffa83b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ export default {
localStorage.removeItem('permissions');
return Promise.resolve();
},
getIdentity: (error) => { /* ... */ },
getIdentity: () => { /* ... */ },
getPermissions: () => {
const role = localStorage.getItem('permissions');
return role ? Promise.resolve(role) : Promise.reject();
Expand Down

0 comments on commit ffa83b1

Please sign in to comment.