@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.
@@ -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
- else {
369
- _this._oplogQueue.push({
370
- type: 'insert',
371
- collection: collection,
372
- doc: doc.o
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
- else {
387
- _this._oplogQueue.push({
388
- type: 'update',
389
- collection: collection,
390
- doc: doc.o
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('.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {