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.

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.ts
index 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 discount
if (discountCodesToUpdate.length > 0) {
await prisma.discountCode.updateMany({