Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bojana Todorovic committed Aug 22, 2024
1 parent c2004cd commit 9270881
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/websocket_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@

router = APIRouter()


async def process_and_send_result(action, payload, ws, logging_info):
result = await api_utils.process_incoming_ws_request(action, payload, ws, logging_info)
if result:
await ws.send_json(result)


@router.websocket("/ws")
async def websocket(ws: WebSocket):
await ws.accept()
Expand Down

0 comments on commit 9270881

Please sign in to comment.