added category bgColor and color to topics api

This commit is contained in:
psychobunny
2014-03-13 15:46:19 -04:00
parent e3df487173
commit 9de21995c4

View File

@@ -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]) {