1
0
mirror of synced 2026-08-04 14:16:55 +00:00

Make rubocop happy

This commit is contained in:
Justin DiRose
2020-08-19 15:10:47 -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