fix cron job for reminders (#3488)

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
This commit is contained in:
Carina WollendorferandCarinaWolli authored and GitHub committed 2022-07-25 15:04:08 -06:00
1 parent e21e622096
commit d8b2fc94b6
4 files changed
+4 -2

No files matched your search

@@ -16,7 +16,7 @@ jobs:
- name: cURL request
if: ${{ env.APP_URL && env.CRON_API_KEY }}
run: |
curl ${{ secrets.APP_URL }}/api/cron/scheduleEmailReminders \
curl ${{ secrets.APP_URL }}/api/cron/workflows/scheduleEmailReminders \
-X POST \
-H 'content-type: application/json' \
-H 'authorization: ${{ secrets.CRON_API_KEY }}' \
@@ -16,7 +16,7 @@ jobs:
- name: cURL request
if: ${{ env.APP_URL && env.CRON_API_KEY }}
run: |
curl ${{ secrets.APP_URL }}/api/cron/scheduleSMSReminders \
curl ${{ secrets.APP_URL }}/api/cron/workflows/scheduleSMSReminders \
-X POST \
-H 'content-type: application/json' \
-H 'authorization: ${{ secrets.CRON_API_KEY }}' \
@@ -0,0 +1 @@
export { default } from "@ee/pages/api/cron/workflows/scheduleEmailReminders";
@@ -0,0 +1 @@
export { default } from "@ee/pages/api/cron/workflows/scheduleSMSReminders";