mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
fix hook
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);
|
||||
},
|
||||
function (data, next) {
|
||||
plugins.fireHook('filter.middleware.render', {req: res, res: res, templateData: data. templateData}, next);
|
||||
plugins.fireHook('filter:middleware.render', {req: res, res: res, templateData: data.templateData}, next);
|
||||
},
|
||||
function (data, next) {
|
||||
options = data.templateData;
|
||||
|
||||
Reference in New Issue
Block a user