Node.js based forum software built for the modern web
add color/bgColor to return
psychobunnyb2049e7acf6c
diff --git a/src/controllers/unread.js b/src/controllers/unread.jsindex 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) {