🔥 refactor(manager.py): remove redundant code in connect method by removing unnecessary await websocket.accept() call

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-08-30 17:40:22 -03:00
commit 61f0a93cc6

View file

@ -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):