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 = {
|
var mail = {
|
||||||
from: "CyTube Services <" + Server.cfg["mail-from"] + ">",
|
from: "CyTube Services <" + Server.cfg["mail-from"] + ">",
|
||||||
to: emial,
|
to: email,
|
||||||
subject: "Password reset request",
|
subject: "Password reset request",
|
||||||
text: msg
|
text: msg
|
||||||
};
|
};
|
||||||
|
|
||||||
Server.cfg["nodemailer"].sendMail(mai, function (err, response) {
|
Server.cfg["nodemailer"].sendMail(mail, function (err, response) {
|
||||||
if(err) {
|
if(err) {
|
||||||
Logger.errlog.log("mail fail: " + err);
|
Logger.errlog.log("mail fail: " + err);
|
||||||
res.jsonp({
|
res.jsonp({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue