From bb84b0ed5c468b5045b45a85e8dc72f6975b983e Mon Sep 17 00:00:00 2001 From: David Winton <119872343+dwinton-go@users.noreply.github.com> Date: Wed, 31 May 2023 15:40:02 -0400 Subject: [PATCH] Typos --- flask_jwt_extended/utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flask_jwt_extended/utils.py b/flask_jwt_extended/utils.py index 3b513b15..39ef65b6 100644 --- a/flask_jwt_extended/utils.py +++ b/flask_jwt_extended/utils.py @@ -160,13 +160,13 @@ def create_access_token( Optional. A hash of claims to include in the access token. These claims are merged into the default claims (exp, iat, etc) and claims returned from the :meth:`~flask_jwt_extended.JWTManager.additional_claims_loader` callback. - On conflict, these claims take presidence. + On conflict, these claims take precedence. :param headers: Optional. A hash of headers to include in the access token. These headers are merged into the default headers (alg, typ) and headers returned from the :meth:`~flask_jwt_extended.JWTManager.additional_headers_loader` - callback. On conflict, these headers take presidence. + callback. On conflict, these headers take precedence. :return: An encoded access token @@ -206,13 +206,13 @@ def create_refresh_token( Optional. A hash of claims to include in the refresh token. These claims are merged into the default claims (exp, iat, etc) and claims returned from the :meth:`~flask_jwt_extended.JWTManager.additional_claims_loader` callback. - On conflict, these claims take presidence. + On conflict, these claims take precedence. :param headers: Optional. A hash of headers to include in the refresh token. These headers are merged into the default headers (alg, typ) and headers returned from the :meth:`~flask_jwt_extended.JWTManager.additional_headers_loader` callback. - On conflict, these headers take presidence. + On conflict, these headers take precedence. :return: An encoded refresh token