fix method name

This commit is contained in:
Barış Soner Uşaklı
2017-09-12 11:51:38 -04:00
parent f42119673f
commit 1019feb569
2 changed files with 1 additions and 2 deletions

View File

@@ -124,7 +124,7 @@ module.exports = function (Posts) {
return topic && parseInt(topic.cid, 10);
});
cids = _.unique(cids);
cids = _.uniq(cids);
categories.getCategoriesFields(cids, ['cid', 'name', 'icon', 'slug', 'parentCid', 'bgColor', 'color'], next);
},