Skip to content

Commit

Permalink
Merge pull request #232 from light-flight/master
Browse files Browse the repository at this point in the history
Fix: replace deprecated Request#[] with request.params[]
  • Loading branch information
tansengming authored Aug 9, 2024
2 parents 94f020e + d8cd3da commit 6d785de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/stripe/event_dispatch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def dispatch_stripe_event(request)
end

def retrieve_stripe_event(request)
id = request['id']
id = request.params['id']
body = request.body.read
sig_header = request.headers['HTTP_STRIPE_SIGNATURE']
endpoint_secrets = ::Rails.application.config.stripe.signing_secrets
Expand Down

0 comments on commit 6d785de

Please sign in to comment.