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 K6a23bcb79367
diff --git a/apps/web/app/(ee)/api/cron/discount-codes/[discountCodeId]/delete/route.ts b/apps/web/app/(ee)/api/cron/discount-codes/[discountCodeId]/delete/route.ts
index c4ccc8bf2c..fd7af33681 100644
--- a/apps/web/app/(ee)/api/cron/discount-codes/[discountCodeId]/delete/route.ts
+++ b/apps/web/app/(ee)/api/cron/discount-codes/[discountCodeId]/delete/route.ts
@@ -27,9 +27,6 @@ export async function POST(
},
});
- // Fake wait 5 seconds
- await new Promise((resolve) => setTimeout(resolve, 5000));
-
if (!discountCode) {
return logAndRespond(`Discount code ${discountCodeId} not found.`);
}