File tree Expand file tree Collapse file tree
packages/fxa-auth-server/lib/payments Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,7 +119,8 @@ export class SubscriptionReminders {
119119 days : endingReminderOptions . freeTrialReminderDays ,
120120 } ) ;
121121 }
122- this . freeTrialEndingReminderEnabled = endingReminderOptions . freeTrialEndRemindersEnabled ;
122+ this . freeTrialEndingReminderEnabled =
123+ endingReminderOptions . freeTrialEndRemindersEnabled ;
123124 this . paymentsNextUrl = endingReminderOptions . paymentsNextUrl ;
124125 this . stripeHelper = stripeHelper ;
125126 this . subscriptionManager = subscriptionManager ;
@@ -313,7 +314,7 @@ export class SubscriptionReminders {
313314 if (
314315 await this . alreadySentEmail (
315316 uid ,
316- Math . floor ( subscription . current_period_end * 1000 ) ,
317+ Math . floor ( subscription . current_period_start * 1000 ) ,
317318 emailParams ,
318319 'freeTrialEndingReminder'
319320 )
You can’t perform that action at this time.
0 commit comments