Skip to content

Commit 0c30783

Browse files
committed
Removed unneeded TODO
1 parent 6c7281b commit 0c30783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/api/jwt_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def admin_required(fn):
1818
def wrapper(*args, **kwargs):
1919
verify_jwt_in_request()
2020
claims = get_jwt()
21-
if claims["role"] != "admin": # TODO could be multiple
21+
if claims["role"] != "admin":
2222
return jsonify(msg="Admins only!"), 403
2323
else:
2424
return fn(*args, **kwargs)

0 commit comments

Comments
 (0)