mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 13:19:39 +02:00
Fix event processor api
This commit is contained in:
parent
a7a29b4780
commit
bc7e32deab
1 changed files with 2 additions and 2 deletions
|
@ -12,9 +12,9 @@ class Provider::Stripe
|
|||
|
||||
case event.type
|
||||
when /^customer\.subscription\./
|
||||
SubscriptionEventProcessor.new(client).process(event)
|
||||
SubscriptionEventProcessor.new(event: event, client: client).process
|
||||
when /^customer\./
|
||||
CustomerEventProcessor.new(client).process(event)
|
||||
CustomerEventProcessor.new(event: event, client: client).process
|
||||
else
|
||||
Rails.logger.info "Unhandled event type: #{event.type}"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue