The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update checkout-session-completed.ts
Kiran K3ed838870c8b
diff --git a/apps/web/app/api/stripe/integration/webhook/checkout-session-completed.ts b/apps/web/app/api/stripe/integration/webhook/checkout-session-completed.tsindex d2a2b7bbc6..7d138c8371 100644--- a/apps/web/app/api/stripe/integration/webhook/checkout-session-completed.ts+++ b/apps/web/app/api/stripe/integration/webhook/checkout-session-completed.ts@@ -210,6 +210,7 @@ export async function checkoutSessionCompleted(event: Stripe.Event) {where: {id: linkId,},+ include: includeTags,});const [_sale, _link, workspace] = await Promise.all([@@ -235,7 +236,6 @@ export async function checkoutSessionCompleted(event: Stripe.Event) {increment: charge.amount_total!,},},- include: includeTags,}),// update workspace sales usage