We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 559a61b commit 20e1a75Copy full SHA for 20e1a75
1 file changed
00-Starter-Seed/server.py
@@ -51,10 +51,10 @@ def get_token_auth_header():
51
"description":
52
"Authorization header must start with"
53
" Bearer"}, 401)
54
- elif len(parts) == 1:
+ if len(parts) == 1:
55
raise AuthError({"code": "invalid_header",
56
"description": "Token not found"}, 401)
57
- elif len(parts) > 2:
+ if len(parts) > 2:
58
59
60
"Authorization header must be"
0 commit comments