From c128579cfcbe4e177124e202251e95e412bd7e67 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 22 Jan 2026 22:04:55 +0000 Subject: chore: generate --- packages/console/app/src/routes/stripe/webhook.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'packages/console/app/src') diff --git a/packages/console/app/src/routes/stripe/webhook.ts b/packages/console/app/src/routes/stripe/webhook.ts index fc7b18fbc..34f83b446 100644 --- a/packages/console/app/src/routes/stripe/webhook.ts +++ b/packages/console/app/src/routes/stripe/webhook.ts @@ -421,7 +421,10 @@ export async function POST(input: APIEvent) { }) } if (body.type === "invoice.payment_succeeded") { - if (body.data.object.billing_reason === "subscription_cycle" || body.data.object.billing_reason === "subscription_create") { + if ( + body.data.object.billing_reason === "subscription_cycle" || + body.data.object.billing_reason === "subscription_create" + ) { const invoiceID = body.data.object.id as string const amountInCents = body.data.object.amount_paid const customerID = body.data.object.customer as string -- cgit v1.2.3