From a999024ddf591889ced996dca4c598556b0b4eec Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Fri, 12 Apr 2024 09:15:26 +0200 Subject: [PATCH] changed back, since dash are corrected to underscores by urls --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(