Skip to content

Node.js based forum software built for the modern web

added category bgColor and color to topics api

psychobunny9de21995c4a2
diff --git a/src/topics.js b/src/topics.js
index 0dd7ea9452..32af5a6ebe 100644
--- a/src/topics.js
+++ b/src/topics.js
@@ -719,7 +719,7 @@ var async = require('async'),
if (categoryCache[topicData.cid]) {
return next(null, categoryCache[topicData.cid]);
}
- categories.getCategoryFields(topicData.cid, ['name', 'slug', 'icon'], next);
+ categories.getCategoryFields(topicData.cid, ['name', 'slug', 'icon', 'bgColor', 'color'], next);
},
user: function(next) {
if (userCache[topicData.uid]) {