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 delete-discount.ts

Kiran K97c7b3a006e7
diff --git a/apps/web/lib/actions/partners/delete-discount.ts b/apps/web/lib/actions/partners/delete-discount.ts
index 7ef0873548..13f2c3cc03 100644
--- a/apps/web/lib/actions/partners/delete-discount.ts
+++ b/apps/web/lib/actions/partners/delete-discount.ts
@@ -67,7 +67,7 @@ export const deleteDiscountAction = authActionClient
discount.couponCodeTrackingEnabledAt &&
qstash.publishJSON({
- url: `${APP_DOMAIN_WITH_NGROK}/api/cron/links/delete-promotion-codes`,
+ url: `${APP_DOMAIN_WITH_NGROK}/api/cron/discounts/enqueue-coupon-code-delete-jobs`,
body: {
groupId: group.id,
},