mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-25 15:10:41 +01:00
format
This commit is contained in:
parent
b9371805e2
commit
8ab9590594
1 changed files with 1 additions and 1 deletions
|
@ -115,6 +115,7 @@ async def chat_page(request: Request, merch: str = Query(...), order: str = Quer
|
||||||
# Initialize Notifier:
|
# Initialize Notifier:
|
||||||
notifier = Notifier()
|
notifier = Notifier()
|
||||||
|
|
||||||
|
|
||||||
@diagonalley_ext.websocket("/ws/{room_name}")
|
@diagonalley_ext.websocket("/ws/{room_name}")
|
||||||
async def websocket_endpoint(
|
async def websocket_endpoint(
|
||||||
websocket: WebSocket, room_name: str, background_tasks: BackgroundTasks
|
websocket: WebSocket, room_name: str, background_tasks: BackgroundTasks
|
||||||
|
@ -140,4 +141,3 @@ async def websocket_endpoint(
|
||||||
|
|
||||||
except WebSocketDisconnect:
|
except WebSocketDisconnect:
|
||||||
notifier.remove(websocket, room_name)
|
notifier.remove(websocket, room_name)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue