Fix typo
All checks were successful
release-image / release-image (push) Successful in 2m7s

This commit is contained in:
Logan Cusano
2025-06-07 23:32:14 -04:00
parent 6f64a8390a
commit ac23a5ec84
2 changed files with 4 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ async def websocket_server_handler(websocket):
if handshake_data.get("type") == "handshake" and "id" in handshake_data:
client_id = handshake_data["id"]
client_nickname = handshake_data.get("nickname")
await register_client(websocket, client_id, nickname)
await register_client(websocket, client_id, client_nickname)
if not app.active_clients[client_id].access_token:
abort(500, "Error retrieving access token")
await websocket.send(json.dumps({"type": "handshake_ack", "status": "success", "access_token": app.active_clients[client_id].access_token}))