Skip to content

Commit 75ce9c8

Browse files
cnlimiterCopilot
andauthored
Update src/web/routes/upload/newapi_services.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 062afb3 commit 75ce9c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/web/routes/upload/newapi_services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def _to_response(svc) -> NewapiServiceResponse:
7070

7171
def _validated_newapi_api_key(api_key: str) -> str:
7272
try:
73-
return normalize_authorization_token(api_key)
73+
return normalize_authorization_token(api_key, header_name="Root Token / API Key")
7474
except ValueError as exc:
7575
raise HTTPException(status_code=400, detail=str(exc)) from exc
7676

0 commit comments

Comments
 (0)