🔥 refactor(manager.py): remove redundant code in connect method by removing unnecessary await websocket.accept() call
This commit is contained in:
parent
a8b9c08a9d
commit
61f0a93cc6
1 changed files with 0 additions and 1 deletions
|
|
@ -92,7 +92,6 @@ class ChatManager(Service):
|
|||
)
|
||||
|
||||
async def connect(self, client_id: str, websocket: WebSocket):
|
||||
await websocket.accept()
|
||||
self.active_connections[client_id] = websocket
|
||||
|
||||
def disconnect(self, client_id: str):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue