Skip to content

Commit

Permalink
Update cancel method
Browse files Browse the repository at this point in the history
Fix DABBLE-ME-5R
  • Loading branch information
parterburn committed Mar 22, 2024
1 parent ff3c377 commit cbd4ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/registrations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def cancel_subscription
if current_user.stripe_id.present?
customer = Stripe::Customer.retrieve(current_user.stripe_id)
customer.subscriptions.each do |sub|
sub.delete
sub.cancel
end
end
end
Expand Down

0 comments on commit cbd4ecb

Please sign in to comment.