mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Email subs reminders release (#11216)
* add subscriptions reminders emails * add field to record the last sub reminder
This commit is contained in:
@@ -15,6 +15,7 @@ export let schema = new mongoose.Schema({
|
||||
extraMonths: {$type: Number, default: 0},
|
||||
gemsBought: {$type: Number, default: 0},
|
||||
mysteryItems: {$type: Array, default: () => []},
|
||||
lastReminderDate: Date, // indicates the last time a subscription reminder was sent
|
||||
lastBillingDate: Date, // Used only for Amazon Payments to keep track of billing date
|
||||
additionalData: mongoose.Schema.Types.Mixed, // Example for Google: {'receipt': 'serialized receipt json', 'signature': 'signature string'}
|
||||
nextPaymentProcessing: Date, // indicates when the queue server should process this subscription again.
|
||||
|
||||
Reference in New Issue
Block a user