We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b590bda commit ea8d727Copy full SHA for ea8d727
1 file changed
packages/console/app/src/routes/stripe/webhook.ts
@@ -519,7 +519,7 @@ export async function POST(input: APIEvent) {
519
if (!workspaceID) throw new Error("Workspace ID not found")
520
if (!invoiceID) throw new Error("Invoice ID not found")
521
522
- const paymentIntent = await Billing.stripe().paymentIntents.retrieve(invoiceID);
+ const paymentIntent = await Billing.stripe().paymentIntents.retrieve(invoiceID)
523
console.log(JSON.stringify(paymentIntent))
524
const errorMessage =
525
typeof paymentIntent === "object" && paymentIntent !== null
0 commit comments