The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update route.ts
Kiran K1545e7f9a4fa
diff --git a/apps/web/app/(ee)/api/cron/links/create-promotion-codes/route.ts b/apps/web/app/(ee)/api/cron/links/create-promotion-codes/route.tsindex 7c56e64973..4c1696cb3a 100644--- a/apps/web/app/(ee)/api/cron/links/create-promotion-codes/route.ts+++ b/apps/web/app/(ee)/api/cron/links/create-promotion-codes/route.ts@@ -16,7 +16,6 @@ const schema = z.object({const PAGE_LIMIT = 20;const MAX_BATCHES = 5;-// This route is used to create promotion codes for each link for link-based coupon codes tracking.// POST /api/cron/links/create-promotion-codesexport async function POST(req: Request) {let discountId: string | undefined;