From a0cc2ee6a94e300920dd87973655d006007a8f90 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 17 Sep 2014 16:57:10 -0400 Subject: [PATCH] duh --- src/controllers/categories.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/categories.js b/src/controllers/categories.js index b6951f3e15..6810e2ea7e 100644 --- a/src/controllers/categories.js +++ b/src/controllers/categories.js @@ -131,7 +131,7 @@ categoriesController.get = function(req, res, next) { return next(err); } categoryData.privileges = privileges; - next(err, categoryData); + next(null, categoryData); }); }); });