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…
Reference in New Issue