mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-02-16 16:34:43 +00:00
Make rubocop happy
This commit is contained in:
parent
4457713901
commit
6ce6e85ef4
@ -51,7 +51,7 @@ module DiscourseSubscriptions
|
||||
# we cancel but don't remove until the end of the period
|
||||
# full removal is done via webhooks
|
||||
begin
|
||||
subscription = ::Stripe::Subscription.update(params[:id], { cancel_at_period_end: true, } )
|
||||
subscription = ::Stripe::Subscription.update(params[:id], { cancel_at_period_end: true, })
|
||||
|
||||
if subscription
|
||||
render_json_dump subscription
|
||||
|
Loading…
x
Reference in New Issue
Block a user