diff --git a/src/main.py b/src/main.py index ef404b9..e82cbe8 100644 --- a/src/main.py +++ b/src/main.py @@ -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(