Skip to content

Commit 0fe09a6

Browse files
committed
Fixed typo
1 parent 236934f commit 0fe09a6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/simple.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ def login():
2121
password = params.get('password', None)
2222

2323
if not username:
24-
return jsonify({"msg": "Missing username paramater"}), 400
24+
return jsonify({"msg": "Missing username parameter"}), 400
2525
if not password
26-
return jsonify({"msg": "Missing password paramater"}), 400
26+
return jsonify({"msg": "Missing password parameter"}), 400
2727

2828
if username != 'test' or password != 'test':
2929
return jsonify({"msg": "Bad username or password"}), 401

flask_jwt_extended/jwt_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def token_in_blacklist_loader(self, callback):
304304
"""
305305
Sets the callback function for checking if a token has been revoked.
306306
307-
This callback function must take one paramater, which is the full
307+
This callback function must take one parameter, which is the full
308308
decoded token dictionary. This should return True if the token has been
309309
blacklisted (or is otherwise considered revoked, or an invalid token),
310310
False otherwise.

0 commit comments

Comments
 (0)