From 6ce6e85ef483a31985d89072d3a1e97c71bf3d27 Mon Sep 17 00:00:00 2001 From: Justin DiRose Date: Wed, 19 Aug 2020 15:10:47 -0500 Subject: [PATCH] Make rubocop happy --- .../discourse_subscriptions/user/subscriptions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/discourse_subscriptions/user/subscriptions_controller.rb b/app/controllers/discourse_subscriptions/user/subscriptions_controller.rb index 7155db3..6eb661f 100644 --- a/app/controllers/discourse_subscriptions/user/subscriptions_controller.rb +++ b/app/controllers/discourse_subscriptions/user/subscriptions_controller.rb @@ -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