@resolveio/server-lib 2.1.2 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/managers/subscription.manager.js +10 -14
- package/package.json +1 -1
|
@@ -365,13 +365,11 @@ var SubscriptionManager = /** @class */ (function () {
|
|
|
365
365
|
else if (collection === 'support-tickets') {
|
|
366
366
|
_this._mainServer.getMethodManager().callMethodInternal('sendSupportTicketEmail', doc.o._id);
|
|
367
367
|
}
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
});
|
|
374
|
-
}
|
|
368
|
+
_this._oplogQueue.push({
|
|
369
|
+
type: 'insert',
|
|
370
|
+
collection: collection,
|
|
371
|
+
doc: doc.o
|
|
372
|
+
});
|
|
375
373
|
});
|
|
376
374
|
oplog.on('update', function (doc) {
|
|
377
375
|
var nsArray = doc.ns.split('.');
|
|
@@ -383,13 +381,11 @@ var SubscriptionManager = /** @class */ (function () {
|
|
|
383
381
|
if (collection === 'cron-jobs') {
|
|
384
382
|
_this._mainServer.getCronManager().checkCronJobsForUpdates();
|
|
385
383
|
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
});
|
|
392
|
-
}
|
|
384
|
+
_this._oplogQueue.push({
|
|
385
|
+
type: 'update',
|
|
386
|
+
collection: collection,
|
|
387
|
+
doc: doc.o
|
|
388
|
+
});
|
|
393
389
|
});
|
|
394
390
|
oplog.on('delete', function (doc) {
|
|
395
391
|
var nsArray = doc.ns.split('.');
|