diff --git a/src/routes/api.js b/src/routes/api.js index b02a5b4616..bbfb2dd450 100644 --- a/src/routes/api.js +++ b/src/routes/api.js @@ -33,7 +33,6 @@ var user = require('./../user.js'), app.get('/api/home', function(req, res) { var uid = (req.user) ? req.user.uid : 0; categories.getAllCategories(function(data) { - data.categories = data.categories.filter(function(category) { return (!category.disabled || category.disabled === "0"); });