@strapi/review-workflows 0.0.0-next.504076d2165a82f124620a3f1f3e3a6017e97f3f → 0.0.0-next.55dabf6295dfb7987fcab8a6b40212555f0e684c
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/dist/server/index.mjs
CHANGED
|
@@ -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({
|
|
7751
|
+
strapi2.cron.add({
|
|
7752
|
+
reviewWorkflowsWeekly: {
|
|
7753
|
+
task: this.sendMetrics.bind(this),
|
|
7754
|
+
options: weeklySchedule
|
|
7755
|
+
}
|
|
7756
|
+
});
|
|
7752
7757
|
}
|
|
7753
7758
|
};
|
|
7754
7759
|
};
|