Make rubocop happy

This commit is contained in:
Justin DiRose
2020-08-19 15:11:16 -05:00
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