Fix 60 days warning which was scheduled for 90 days instead

This commit is contained in:
Hugo Peixoto 2022-10-18 11:29:15 +01:00
parent d8befb0ea3
commit f30859f991

View File

@ -54,7 +54,7 @@ class Member < ApplicationRecord
return if expires_on.nil?
[
{ to_be_sent_on: expires_on - 90.days, template: "expiration_in_60d" },
{ to_be_sent_on: expires_on - 60.days, template: "expiration_in_60d" },
{ to_be_sent_on: expires_on - 30.days, template: "expiration_in_30d" },
{ to_be_sent_on: expires_on + 0.days, template: "expired" },
{ to_be_sent_on: expires_on + 30.days, template: "expired_30d_ago" },