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 Kd60d4abc50be
diff --git a/apps/web/app/(ee)/api/cron/groups/remap-discount-codes/route.ts b/apps/web/app/(ee)/api/cron/groups/remap-discount-codes/route.tsindex a128129fa7..44387de494 100644--- a/apps/web/app/(ee)/api/cron/groups/remap-discount-codes/route.ts+++ b/apps/web/app/(ee)/api/cron/groups/remap-discount-codes/route.ts@@ -87,8 +87,6 @@ export async function POST(req: Request) {}}- console.log({ discountCodesToUpdate, discountCodesToRemove });-// Update the discount codes to use the new discountif (discountCodesToUpdate.length > 0) {await prisma.discountCode.updateMany({