Skip to content

Commit

Permalink
refactor(api): correct Query parameter specification in API endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
laurent-laporte-pro committed Apr 19, 2024
1 parent 8488015 commit 8a176f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion antarest/eventbus/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a176f4

Please sign in to comment.