revert last 2 commits

This commit is contained in:
Matteo Pagliazzi
2015-05-11 17:02:36 +02:00
parent e966de7bf0
commit 30fd8e26e6
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -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