Skip to content

Commit

Permalink
fix: typo in with-stripe-typescript example (#56274)
Browse files Browse the repository at this point in the history
fixes #56273.
  • Loading branch information
hamirmahal committed Oct 2, 2023
1 parent 7f60cc8 commit be952fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with-stripe-typescript/app/api/webhooks/route.ts
Expand Up @@ -51,7 +51,7 @@ export async function POST(req: Request) {
console.log(`💰 PaymentIntent status: ${data.status}`)
break
default:
throw new Error(`Unhhandled event: ${event.type}`)
throw new Error(`Unhandled event: ${event.type}`)
}
} catch (error) {
console.log(error)
Expand Down

0 comments on commit be952fb

Please sign in to comment.