Fix filter:category.build error (double next)

This commit is contained in:
acardinale
2016-03-09 19:38:56 +01:00
parent dff947b325
commit de1dd3a5df

View File

@@ -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) {