changed back, since dash are corrected to underscores by urls

This commit is contained in:
Kristian Krsnik 2024-04-12 09:15:26 +02:00
parent 9ef9c8454b
commit a999024ddf
Signed by: Kristian
GPG Key ID: FD1330AC9F909E85

View File

@ -44,7 +44,7 @@ class MinSizePerRequestError(Exception):
@api.get('/')
def test_data(request: Request, size: str, api_key: str = Query(..., alias="api-key")) -> StreamingResponse:
def test_data(api_key: str, request: Request, size: str) -> StreamingResponse:
try:
if api_key not in AUTHORIZED_KEYS:
raise HTTPException(