Fix websocket compute notifications after upgrade to FastAPI 0.97.0

This commit is contained in:
grossmj
2023-06-23 23:26:08 +09:30
parent d366d77ff7
commit 4b791d4924
2 changed files with 18 additions and 2 deletions

View File

@ -35,7 +35,7 @@ router = APIRouter()
@router.websocket("/notifications/ws")
async def notification_ws(websocket: WebSocket) -> None:
async def project_ws_notifications(websocket: WebSocket) -> None:
"""
Receive project notifications about the project from WebSocket.
"""