Skip to content

Commit

Permalink
Swap email contents
Browse files Browse the repository at this point in the history
  • Loading branch information
pepesenaris committed Jul 19, 2018
1 parent 93224f3 commit 11b9c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/mailer.js
Expand Up @@ -32,7 +32,7 @@ exports.sendOne = function(templateName, messageInfo, locals) {
email.render(`${templateName}/text`, locals)
])
.then(([html, text]) => {
return sendEmail(messageInfo, html, text);
return sendEmail(messageInfo, text, html);
})
.catch(console.error);
};

0 comments on commit 11b9c3e

Please sign in to comment.