projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test post-update hook
[vchess.git]
/
server
/
utils
/
mailer.js
diff --git
a/server/utils/mailer.js
b/server/utils/mailer.js
index
9d3ea30
..
60cc9f2
100644
(file)
--- a/
server/utils/mailer.js
+++ b/
server/utils/mailer.js
@@
-8,8
+8,7
@@
module.exports = function(from, to, subject, body, cb)
{
console.log("New mail: from " + from + " / to " + to);
console.log("Subject: " + subject);
{
console.log("New mail: from " + from + " / to " + to);
console.log("Subject: " + subject);
- let msgText = body.split('\\n');
- msgText.forEach(msg => { console.log(msg); });
+ console.log(body);
if (!cb)
cb = (err) => { if (!!err) console.log(err); }
return cb();
if (!cb)
cb = (err) => { if (!!err) console.log(err); }
return cb();