@strapi/review-workflows 0.0.0-experimental.b1d7921ddb1b36c84b58a3946e1dc9dbda91b2dc → 0.0.0-experimental.b9dd0757c8a7db6ee1063edc33424319784ae3a6

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.
@@ -7749,7 +7749,12 @@ const reviewWorkflowsWeeklyMetrics = ({ strapi: strapi2 }) => {
7749
7749
  },
7750
7750
  async registerCron() {
7751
7751
  const weeklySchedule = await this.ensureWeeklyStoredCronSchedule();
7752
- strapi2.cron.add({ [weeklySchedule]: this.sendMetrics.bind(this) });
7752
+ strapi2.cron.add({
7753
+ reviewWorkflowsWeekly: {
7754
+ task: this.sendMetrics.bind(this),
7755
+ options: weeklySchedule
7756
+ }
7757
+ });
7753
7758
  }
7754
7759
  };
7755
7760
  };