Skip to content

Commit d4a34e5

Browse files
qaisjpvimalloc
authored andcommitted
example(custom_decorators): fix "peasant" typo (#257)
1 parent 854bc2e commit d4a34e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/custom_decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def add_claims_to_access_token(identity):
3333
if identity == 'admin':
3434
return {'roles': 'admin'}
3535
else:
36-
return {'roles': 'pesant'}
36+
return {'roles': 'peasant'}
3737

3838

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

0 commit comments

Comments
 (0)