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 cron job pagination URL

Kiran K06ca3309deff
diff --git a/apps/web/app/(ee)/api/cron/bounties/create-draft-submissions/route.ts b/apps/web/app/(ee)/api/cron/bounties/create-draft-submissions/route.ts
index 0ba4f3d100..d5b0b4e137 100644
--- a/apps/web/app/(ee)/api/cron/bounties/create-draft-submissions/route.ts
+++ b/apps/web/app/(ee)/api/cron/bounties/create-draft-submissions/route.ts
@@ -157,7 +157,7 @@ export async function POST(req: Request) {
if (programEnrollments.length === MAX_PAGE_SIZE) {
const response = await qstash.publishJSON({
- url: `${APP_DOMAIN_WITH_NGROK}/api/cron/bounties/create-submissions`,
+ url: `${APP_DOMAIN_WITH_NGROK}/api/cron/bounties/create-draft-submissions`,
body: {
bountyId,
partnerIds,