fix emailer

v1.18.x
Barış Soner Uşaklı 10 years ago
parent 3a6871fd65
commit e9692a3e1f

@ -48,7 +48,7 @@ var fs = require('fs'),
function renderAndTranslate(tpl, params, callback) { function renderAndTranslate(tpl, params, callback) {
async.waterfall([ async.waterfall([
function (next) { function (next) {
app.render(template, params, next); app.render(tpl, params, next);
}, },
function (html, next) { function (html, next) {
translator.translate(html, lang, function(translated) { translator.translate(html, lang, function(translated) {

Loading…
Cancel
Save