Make rubocop happy

This commit is contained in:
Justin DiRose 2020-08-19 15:10:47 -05:00
parent 4457713901
commit 6ce6e85ef4
No known key found for this signature in database
GPG Key ID: 4B811FB264021800
1 changed files with 1 additions and 1 deletions

View File

@ -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