Unverified Commit be952fbb authored by Hamir Mahal's avatar Hamir Mahal Committed by GitHub

fix: typo in `with-stripe-typescript` example (#56274)

fixes #56273.
parent 7f60cc8b
...@@ -51,7 +51,7 @@ export async function POST(req: Request) { ...@@ -51,7 +51,7 @@ export async function POST(req: Request) {
console.log(`💰 PaymentIntent status: ${data.status}`) console.log(`💰 PaymentIntent status: ${data.status}`)
break break
default: default:
throw new Error(`Unhhandled event: ${event.type}`) throw new Error(`Unhandled event: ${event.type}`)
} }
} catch (error) { } catch (error) {
console.log(error) console.log(error)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment