Skip to content

Commit

Permalink
Fix typo (#258)
Browse files Browse the repository at this point in the history
Fix a typo -> Optionnal to Optional
  • Loading branch information
eamanu authored and Landon committed Jul 3, 2019
1 parent 2495f53 commit 3ccf0c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flask_jwt_extended/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def create_access_token(identity, fresh=False, expires_delta=None, user_claims=N
expiration. If this is None, it will use the
'JWT_ACCESS_TOKEN_EXPIRES` config value
(see :ref:`Configuration Options`)
:param user_claims: Optionnal JSON serializable to override user claims.
:param user_claims: Optional JSON serializable to override user claims.
:return: An encoded access token
"""
jwt_manager = _get_jwt_manager()
Expand All @@ -172,7 +172,7 @@ def create_refresh_token(identity, expires_delta=None, user_claims=None):
expiration. If this is None, it will use the
'JWT_REFRESH_TOKEN_EXPIRES` config value
(see :ref:`Configuration Options`)
:param user_claims: Optionnal JSON serializable to override user claims.
:param user_claims: Optional JSON serializable to override user claims.
:return: An encoded refresh token
"""
jwt_manager = _get_jwt_manager()
Expand Down

0 comments on commit 3ccf0c9

Please sign in to comment.