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 create-promotion-code.ts

Kiran K6fc3ec5be0b9
diff --git a/apps/web/lib/stripe/create-promotion-code.ts b/apps/web/lib/stripe/create-promotion-code.ts
index 93c034316c..c73ba766a8 100644
--- a/apps/web/lib/stripe/create-promotion-code.ts
+++ b/apps/web/lib/stripe/create-promotion-code.ts
@@ -6,12 +6,12 @@ const stripe = stripeAppClient({
// Create a promotion code on Stripe for connected accounts
export async function createStripePromotionCode({
- couponId,
code,
+ couponId,
stripeConnectId,
}: {
- couponId: string;
code: string;
+ couponId: string;
stripeConnectId: string | null;
}) {
if (!stripeConnectId) {