Skip to content

Commit be952fb

Browse files
authored
fix: typo in with-stripe-typescript example (#56274)
fixes #56273.
1 parent 7f60cc8 commit be952fb

File tree

1 file changed

+1
-1
lines changed
  • examples/with-stripe-typescript/app/api/webhooks

1 file changed

+1
-1
lines changed

examples/with-stripe-typescript/app/api/webhooks/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export async function POST(req: Request) {
5151
console.log(`💰 PaymentIntent status: ${data.status}`)
5252
break
5353
default:
54-
throw new Error(`Unhhandled event: ${event.type}`)
54+
throw new Error(`Unhandled event: ${event.type}`)
5555
}
5656
} catch (error) {
5757
console.log(error)

0 commit comments

Comments
 (0)