Skip to content

Commit

Permalink
fix return body of create setup
Browse files Browse the repository at this point in the history
  • Loading branch information
cedvandenbosch committed Nov 7, 2024
1 parent e08a6f4 commit a9650ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ app.post('/create-setup-intent', async (req, res) => {
//@ts-ignore
const setupIntent = await stripe.setupIntents.create({
...{
customer: customer.id,
customerId: customer.id,
payment_method_types,
usage: ['off_session'],
},
Expand Down

0 comments on commit a9650ef

Please sign in to comment.