mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
req should be req. 👍
This commit is contained in:
@@ -44,7 +44,7 @@ module.exports = function (middleware) {
|
|||||||
plugins.fireHook('filter:' + template + '.build', { req: req, res: res, templateData: options }, next);
|
plugins.fireHook('filter:' + template + '.build', { req: req, res: res, templateData: options }, next);
|
||||||
},
|
},
|
||||||
function (data, next) {
|
function (data, next) {
|
||||||
plugins.fireHook('filter:middleware.render', { req: res, res: res, templateData: data.templateData }, next);
|
plugins.fireHook('filter:middleware.render', { req: req, res: res, templateData: data.templateData }, next);
|
||||||
},
|
},
|
||||||
function (data, next) {
|
function (data, next) {
|
||||||
options = data.templateData;
|
options = data.templateData;
|
||||||
|
|||||||
Reference in New Issue
Block a user