The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update index.ts
Kiran K58c71373e4db
diff --git a/apps/web/lib/stripe/index.ts b/apps/web/lib/stripe/index.tsindex 4cddaaec9e..d72bb7e30e 100644--- a/apps/web/lib/stripe/index.ts+++ b/apps/web/lib/stripe/index.ts@@ -21,11 +21,7 @@ export const stripeAppClient = ({ mode = "live" }: { mode?: StripeMode }) => {appSecretKey = process.env.STRIPE_APP_SECRET_KEY;}- if (!appSecretKey) {- throw new Error("Stripe app secret key is not set.");- }-- return new Stripe(appSecretKey, {+ return new Stripe(appSecretKey!, {apiVersion: "2025-05-28.basil",appInfo: {name: "Dub.co",