mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-13 17:52:22 +00:00
feat(weekly-recap): track last date of weekly recap email
This commit is contained in:
parent
6bced5d9ee
commit
8a6c49f002
1 changed files with 2 additions and 0 deletions
|
|
@ -148,6 +148,8 @@ var UserSchema = new Schema({
|
|||
recaptureEmailsPhase: {type: Number, 'default': 0},
|
||||
// Needed to track the tip to send inside the email
|
||||
weeklyRecapEmailsPhase: {type: Number, 'default': 0},
|
||||
// Used to track when the next weekly recap should be sent
|
||||
lastWeeklyRecap: {type: Date, 'default': Date.now},
|
||||
communityGuidelinesAccepted: {type: Boolean, 'default': false},
|
||||
cronCount: {type:Number, 'default':0}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue