added category bgColor and color to topics api

v1.18.x
psychobunny 11 years ago
parent e3df487173
commit 9de21995c4

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

Loading…
Cancel
Save