Fix stupid typos

This commit is contained in:
Calvin Montgomery 2013-08-12 00:09:43 -04:00
parent 03e27a7720
commit 0d31d6eea2
1 changed files with 2 additions and 2 deletions

4
api.js
View File

@ -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({