diff --git a/backend/gateway-service/src/modules/collaboration/collaborationws.controller.ts b/backend/gateway-service/src/modules/collaboration/collaborationws.controller.ts index e52e91aa3e..38e7306036 100644 --- a/backend/gateway-service/src/modules/collaboration/collaborationws.controller.ts +++ b/backend/gateway-service/src/modules/collaboration/collaborationws.controller.ts @@ -153,7 +153,7 @@ export class CollaborationGateway implements OnGatewayDisconnect { } catch (e) { console.log(e); client.emit(SESSION_ERROR, { - event: SESSION_JOIN, + event: SESSION_LEAVE, error: `Failed to leave session: ${e.message}`, }); }