Fix event callback on sync service

This commit is contained in:
Hakan Shehu
2024-11-26 23:31:35 +01:00
parent cf484b5536
commit fa169b2f7e

View File

@@ -35,8 +35,7 @@ class SyncService {
} else if (event.type === 'workspace_created') {
this.requireNodeTransactions(event.workspace.userId);
} else if (event.type === 'socket_connection_opened') {
this.requireNodeTransactions(event.accountId);
this.requireCollaborations(event.accountId);
this.syncAllWorkspaces();
}
});
}