Skip to content

Commit

Permalink
Merge pull request marmelab#1052 from Phocea/patch-6
Browse files Browse the repository at this point in the history
Add AUTH_GET_PERMISSIONS to import
  • Loading branch information
djhi authored Sep 19, 2017
2 parents 3669a64 + b306477 commit f603927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Following is an example where the `authClient` stores the user's role upon authe

```jsx
// in src/authClient.js
import { AUTH_LOGIN, AUTH_LOGOUT, AUTH_ERROR, AUTH_CHECK } from 'admin-on-rest';
import { AUTH_LOGIN, AUTH_LOGOUT, AUTH_ERROR, AUTH_CHECK, AUTH_GET_PERMISSIONS } from 'admin-on-rest';
import decodeJwt from 'jwt-decode';

export default (type, params) => {
Expand Down

0 comments on commit f603927

Please sign in to comment.