Skip to content

Commit 47890db

Browse files
committed
fixed "is not None"
1 parent b3ae1c4 commit 47890db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/mcp_oauth_probe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async def check_mcp_auth(configuration: AppConfig, mcp_headers: McpHeaders) -> N
4343
for mcp_server in configuration.mcp_servers:
4444
headers = mcp_headers.get(mcp_server.name, {})
4545
auth_header = headers.get("Authorization")
46-
if auth_header:
46+
if auth_header is not None:
4747
authorization = (
4848
auth_header
4949
if auth_header.startswith("Bearer ")

0 commit comments

Comments
 (0)