Skip to content

Commit

Permalink
Sets status back to active when resuming a subscription (pay-rails#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncharnes authored Feb 29, 2020
1 parent 2486800 commit 60a7f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/pay/subscription.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def resume

send("#{processor}_resume")

update(ends_at: nil)
update(ends_at: nil, status: "active")
self
end

Expand Down

0 comments on commit 60a7f9f

Please sign in to comment.