summaryrefslogtreecommitdiff
path: root/lib/solidus_subscriptions/configuration.rb
diff options
context:
space:
mode:
authorAlessandro Desantis <desa.alessandro@gmail.com>2020-12-14 17:04:47 +0100
committerGitHub <noreply@github.com>2020-12-14 17:04:47 +0100
commit982e340b73a63089907a3e68ebd7395f16892fa2 (patch)
treee737b463dfcba8f726e21b9c3e3465f6a2b4f96f /lib/solidus_subscriptions/configuration.rb
parentd4743d79536be77bcf1fa0fb5ff055ba6145396a (diff)
parent595891ac6a7f6641b04f5cd4e1ecaa21c0ed7eb6 (diff)
Merge pull request #178 from seand7565/fix_subscription_cancel
Update cancel method on subscription to respect minimum date
Diffstat (limited to 'lib/solidus_subscriptions/configuration.rb')
-rw-r--r--lib/solidus_subscriptions/configuration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/solidus_subscriptions/configuration.rb b/lib/solidus_subscriptions/configuration.rb
index f09740b..52c8fd4 100644
--- a/lib/solidus_subscriptions/configuration.rb
+++ b/lib/solidus_subscriptions/configuration.rb
@@ -43,7 +43,7 @@ module SolidusSubscriptions
end
def minimum_cancellation_notice
- @minimum_cancellation_notice ||= 1.day
+ @minimum_cancellation_notice ||= 0.days
end
def processing_queue