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 customer-created.ts

Kiran K49ddf3284b5f
diff --git a/apps/web/app/api/stripe/integration/webhook/customer-created.ts b/apps/web/app/api/stripe/integration/webhook/customer-created.ts
index 8ad164779b..aeadacb817 100644
--- a/apps/web/app/api/stripe/integration/webhook/customer-created.ts
+++ b/apps/web/app/api/stripe/integration/webhook/customer-created.ts
@@ -37,6 +37,7 @@ export async function customerCreated(event: Stripe.Event) {
}
}
+ // otherwise create a new customer
return await createNewCustomer(event);
}