Fix filter:category.build error (double next)

v1.18.x
acardinale 9 years ago
parent dff947b325
commit de1dd3a5df

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

Loading…
Cancel
Save