mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
Fix filter:category.build error (double next)
This commit is contained in:
@@ -196,7 +196,6 @@ categoryController.get = function(req, res, callback) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
plugins.fireHook('filter:category.build', {req: req, res: res, templateData: categoryData}, next);
|
plugins.fireHook('filter:category.build', {req: req, res: res, templateData: categoryData}, next);
|
||||||
next(null, categoryData);
|
|
||||||
}
|
}
|
||||||
], function (err, data) {
|
], function (err, data) {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|||||||
Reference in New Issue
Block a user