mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 07:25:46 +01:00
fix emailer
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user