mirror of https://github.com/calzoneman/sync.git
Fix stupid typos
This commit is contained in:
parent
03e27a7720
commit
0d31d6eea2
4
api.js
4
api.js
|
@ -321,12 +321,12 @@ module.exports = function (Server) {
|
|||
|
||||
var mail = {
|
||||
from: "CyTube Services <" + Server.cfg["mail-from"] + ">",
|
||||
to: emial,
|
||||
to: email,
|
||||
subject: "Password reset request",
|
||||
text: msg
|
||||
};
|
||||
|
||||
Server.cfg["nodemailer"].sendMail(mai, function (err, response) {
|
||||
Server.cfg["nodemailer"].sendMail(mail, function (err, response) {
|
||||
if(err) {
|
||||
Logger.errlog.log("mail fail: " + err);
|
||||
res.jsonp({
|
||||
|
|
Loading…
Reference in New Issue