We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfa134f commit cd46f22Copy full SHA for cd46f22
1 file changed
packages/console/app/src/routes/stripe/webhook.ts
@@ -196,7 +196,6 @@ export async function POST(input: APIEvent) {
196
}
197
198
if (body.type === "customer.subscription.deleted") {
199
- /*
200
const subscriptionID = body.data.object.id
201
if (!subscriptionID) throw new Error("Subscription ID not found")
202
@@ -206,7 +205,6 @@ export async function POST(input: APIEvent) {
206
205
} else if (productID === BlackData.productID()) {
207
await Billing.unsubscribeBlack({ subscriptionID })
208
209
- */
210
211
if (body.type === "invoice.payment_succeeded") {
212
if (
0 commit comments