Skip to content

Commit

Permalink
Fix spelling error in token refresh endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Nov 16, 2020
1 parent 8486ec5 commit 170a87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class RefreshAccessToken(Resource):
def post(self):
username = get_jwt_identity()
access_token = create_access_token(username)
return ({"access_toekn": access_token}, 200)
return ({"access_token": access_token}, 200)

class Item(Resource):
@jwt_required
Expand Down

0 comments on commit 170a87d

Please sign in to comment.