Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fix program-application-reminder cron delay

Steven Tey31d5336b71a0
diff --git a/apps/web/app/api/cron/program-application-reminder/route.ts b/apps/web/app/api/cron/program-application-reminder/route.ts
index 7dc11a7f9a..6f07c3a90c 100644
--- a/apps/web/app/api/cron/program-application-reminder/route.ts
+++ b/apps/web/app/api/cron/program-application-reminder/route.ts
@@ -55,7 +55,7 @@ export async function POST(req: Request) {
await qstash.publishJSON({
url: `${APP_DOMAIN_WITH_NGROK}/api/cron/program-application-reminder`,
// repeat every 24 hours, but it'll be cancelled if the application is more than 3 days old or is associated with a partner
- delay: 24 * 60 * 60 * 1000,
+ delay: 24 * 60 * 60,
body: {
applicationId: application.id,
},