We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c769e32 commit 2ed8353Copy full SHA for 2ed8353
server/src/crons/crons.service.ts
@@ -70,7 +70,7 @@ export class CronsService {
70
// get current socket
71
const socketClient = clients.get(currentJob.clientId);
72
73
- if (!socketClient) {
+ if (socketClient) {
74
// emit event to current client, loading and indexing events are indetified as collection update
75
socketClient.emit(WS_EVENTS.COLLECTION_UPDATE, collections);
76
0 commit comments