Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit 4597d50

Browse files
Add missing comma (#60)
1 parent 812b7d4 commit 4597d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def log_info(message)
7575
payload = Sinatra::IndifferentHash[JSON.parse(request.body.read)]
7676
end
7777
begin
78-
payment_intent = Stripe::PaymentIntent.confirm(payload[:payment_intent_id] {:use_stripe_sdk => true})
78+
payment_intent = Stripe::PaymentIntent.confirm(payload[:payment_intent_id], {:use_stripe_sdk => true})
7979
rescue Stripe::StripeError => e
8080
status 402
8181
return log_info("Error: #{e.message}")

0 commit comments

Comments
 (0)