Skip to content

Commit

Permalink
Merge pull request #33 from cacheventures/fix_cancel_sub_operation-2018
Browse files Browse the repository at this point in the history
Fix cancel subscription operation
  • Loading branch information
danarnold authored Sep 19, 2024
2 parents 9d90f65 + b2ab3a9 commit 943f06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fabric/cancel_subscription_operation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def initialize(subscription, attributes)

def call
stripe_subscription = Stripe::Subscription.cancel(
@subscription.stripe_id, attributes
@subscription.stripe_id, @attributes
)

@subscription.sync_with(stripe_subscription)
Expand Down

0 comments on commit 943f06d

Please sign in to comment.