summaryrefslogtreecommitdiffhomepage
path: root/packages/console/app/src
diff options
context:
space:
mode:
authorGitHub Action <[email protected]>2026-01-22 22:04:55 +0000
committerGitHub Action <[email protected]>2026-01-22 22:04:55 +0000
commitc128579cfcbe4e177124e202251e95e412bd7e67 (patch)
tree390f5b5ff97b97a024f5116934a0e4a3ed9aa8bc /packages/console/app/src
parent5f3ab9395fc8f8543724dcda914d38fba0809049 (diff)
downloadopencode-c128579cfcbe4e177124e202251e95e412bd7e67.tar.gz
opencode-c128579cfcbe4e177124e202251e95e412bd7e67.zip
chore: generate
Diffstat (limited to 'packages/console/app/src')
-rw-r--r--packages/console/app/src/routes/stripe/webhook.ts5
1 files changed, 4 insertions, 1 deletions
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