@whyour/qinglong 0.19.2 → 0.19.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whyour/qinglong",
3
- "version": "0.19.2",
3
+ "version": "0.19.3",
4
4
  "description": "Timed task management platform supporting Python3, JavaScript, Shell, Typescript",
5
5
  "repository": {
6
6
  "type": "git",
@@ -101,7 +101,7 @@
101
101
  "node-schedule": "^2.1.0",
102
102
  "nodemailer": "^6.7.2",
103
103
  "p-queue-cjs": "7.3.4",
104
- "protobufjs": "^7.2.3",
104
+ "protobufjs": "^7.3.0",
105
105
  "pstree.remy": "^1.1.8",
106
106
  "reflect-metadata": "^0.1.13",
107
107
  "sequelize": "^6.25.5",
@@ -103,7 +103,7 @@ let SubscriptionService = class SubscriptionService {
103
103
  needCreate &&
104
104
  (await this.scheduleService.createCronTask(doc, this.taskCallbacks(doc), runImmediately));
105
105
  }
106
- else {
106
+ else if (doc.interval_schedule) {
107
107
  this.scheduleService.cancelIntervalTask(doc);
108
108
  const { type, value } = doc.interval_schedule;
109
109
  needCreate &&