Skip to content

Commit

Permalink
example(custom_decorators): fix "peasant" typo (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
qaisjp authored and vimalloc committed Jul 3, 2019
1 parent 854bc2e commit d4a34e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/custom_decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def add_claims_to_access_token(identity):
if identity == 'admin':
return {'roles': 'admin'}
else:
return {'roles': 'pesant'}
return {'roles': 'peasant'}


@app.route('/login', methods=['POST'])
Expand Down

0 comments on commit d4a34e5

Please sign in to comment.