add email with optional message when kicking user from group

This commit is contained in:
Matteo Pagliazzi
2015-03-18 19:12:53 +01:00
parent 0722a17897
commit 9e540e86af
8 changed files with 128 additions and 82 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ module.exports.txnEmail = function(mailingInfoArray, emailType, variables){
// When only one recipient send his info as variables
if(mailingInfoArray.length === 1 && mailingInfoArray[0].name){
variables.push({name: 'RECIPIENT_NAME', content: mailingInfoArray[0].name});
}
}
if(isProd && mailingInfoArray.length > 0){
request({