changed back, since dash are corrected to underscores by urls
This commit is contained in:
parent
9ef9c8454b
commit
a999024ddf
@ -44,7 +44,7 @@ class MinSizePerRequestError(Exception):
|
|||||||
|
|
||||||
|
|
||||||
@api.get('/')
|
@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:
|
try:
|
||||||
if api_key not in AUTHORIZED_KEYS:
|
if api_key not in AUTHORIZED_KEYS:
|
||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
|
Loading…
Reference in New Issue
Block a user