mirror of
https://github.com/colanode/colanode.git
synced 2025-12-29 00:25:03 +01:00
Fix event callback on sync service
This commit is contained in:
@@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user