From 8a176f4356ada6d1300cf453c0912a2d63c7846b Mon Sep 17 00:00:00 2001 From: Laurent LAPORTE Date: Sun, 10 Sep 2023 11:44:49 +0200 Subject: [PATCH] refactor(api): correct Query parameter specification in API endpoints --- antarest/eventbus/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antarest/eventbus/web.py b/antarest/eventbus/web.py index cae0ffb99f..d7675b20ec 100644 --- a/antarest/eventbus/web.py +++ b/antarest/eventbus/web.py @@ -91,7 +91,7 @@ async def send_event_to_ws(event: Event) -> None: @application.websocket("/ws") async def connect( websocket: WebSocket, - token: str = Query(...), + token: str = Query(), jwt_manager: AuthJWT = Depends(), ) -> None: user: Optional[JWTUser] = None