From b2049e7acf6c7d5cae6288fbdec43c66228d7f11 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Fri, 18 Dec 2015 16:56:59 -0500 Subject: [PATCH] add color/bgColor to return --- src/controllers/unread.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/unread.js b/src/controllers/unread.js index af7bf816ef..741e5c673a 100644 --- a/src/controllers/unread.js +++ b/src/controllers/unread.js @@ -34,7 +34,7 @@ unreadController.get = function(req, res, next) { privileges.categories.filterCids('read', results.watchedCategories, req.uid, next); }, function(cids, next) { - categories.getCategoriesFields(cids, ['cid', 'name', 'slug', 'icon', 'link'], next); + categories.getCategoriesFields(cids, ['cid', 'name', 'slug', 'icon', 'link', 'color', 'bgColor'], next); }, function(categories, next) { categories = categories.filter(function(category) {