mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-16 19:47:34 +01:00
more refactors
This commit is contained in:
@@ -19,7 +19,7 @@ homePageController.get = function(req, res, next) {
|
||||
privileges.categories.filterCids('find', cids, 0, next);
|
||||
},
|
||||
function(cids, next) {
|
||||
categories.getMultipleCategoryFields(cids, ['name', 'slug'], next);
|
||||
categories.getCategoriesFields(cids, ['name', 'slug'], next);
|
||||
},
|
||||
function(categoryData, next) {
|
||||
categoryData = categoryData.map(function(category) {
|
||||
|
||||
Reference in New Issue
Block a user