Skip to content

Commit 61653a2

Browse files
committed
sync
1 parent 4817228 commit 61653a2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/console/app/src/routes/stripe/webhook.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ export async function POST(input: APIEvent) {
196196
}
197197
}
198198
if (body.type === "customer.subscription.deleted") {
199+
/*
199200
const subscriptionID = body.data.object.id
200201
if (!subscriptionID) throw new Error("Subscription ID not found")
201202
@@ -205,6 +206,7 @@ export async function POST(input: APIEvent) {
205206
} else if (productID === BlackData.productID()) {
206207
await Billing.unsubscribeBlack({ subscriptionID })
207208
}
209+
*/
208210
}
209211
if (body.type === "invoice.payment_succeeded") {
210212
if (

0 commit comments

Comments
 (0)