mirror of
https://github.com/etesync/server
synced 2024-11-22 08:48:07 +00:00
Subscriptions: allow subscribing without setting an stoken.
This commit is contained in:
parent
8485806046
commit
b33a3c882e
@ -74,7 +74,7 @@ def get_websocket_user(websocket: WebSocket, ticket_model: t.Optional[TicketInne
|
||||
@websocket_router.websocket("/{ticket}/")
|
||||
async def websocket_endpoint(
|
||||
websocket: WebSocket,
|
||||
stoken: t.Optional[str],
|
||||
stoken: t.Optional[str] = None,
|
||||
user: t.Optional[UserType] = Depends(get_websocket_user),
|
||||
ticket_model: TicketInner = Depends(load_websocket_ticket),
|
||||
):
|
||||
|
Loading…
Reference in New Issue
Block a user