Skip to content

Commit cd46f22

Browse files
committed
sync
1 parent cfa134f commit cd46f22

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ export async function POST(input: APIEvent) {
196196
}
197197
}
198198
if (body.type === "customer.subscription.deleted") {
199-
/*
200199
const subscriptionID = body.data.object.id
201200
if (!subscriptionID) throw new Error("Subscription ID not found")
202201

@@ -206,7 +205,6 @@ export async function POST(input: APIEvent) {
206205
} else if (productID === BlackData.productID()) {
207206
await Billing.unsubscribeBlack({ subscriptionID })
208207
}
209-
*/
210208
}
211209
if (body.type === "invoice.payment_succeeded") {
212210
if (

0 commit comments

Comments
 (0)