From 56a87329ec9a78b7bdceb0653873b53610361dab Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 17 Sep 2013 15:14:11 -0400 Subject: [PATCH] removing extra line --- src/routes/api.js | 1 - 1 file changed, 1 deletion(-) 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"); });