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