mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-18 09:52:20 +00:00
revert last 2 commits
This commit is contained in:
parent
e966de7bf0
commit
30fd8e26e6
2 changed files with 1 additions and 2 deletions
|
|
@ -148,7 +148,6 @@ var UserSchema = new Schema({
|
|||
recaptureEmailsPhase: {type: Number, 'default': 0},
|
||||
// Needed to track the tip to send inside the email
|
||||
weeklyRecapEmailsPhase: {type: Number, 'default': 0},
|
||||
lastWeeklyRecap: {type: Date, 'default': Date.now},
|
||||
communityGuidelinesAccepted: {type: Boolean, 'default': false},
|
||||
cronCount: {type:Number, 'default':0}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ module.exports.txnEmail = function(mailingInfoArray, emailType, variables, perso
|
|||
var mailingInfoArray = Array.isArray(mailingInfoArray) ? mailingInfoArray : [mailingInfoArray];
|
||||
|
||||
var variables = [
|
||||
{name: 'BASE_URL', content: 'https://habitrpg.com'}
|
||||
{name: 'BASE_URL', content: baseUrl}
|
||||
].concat(variables || []);
|
||||
|
||||
// It's important to pass at least a user with its `preferences` as we need to check if he unsubscribed
|
||||
|
|
|
|||
Loading…
Reference in a new issue