mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-08 07:40:05 +01:00
changed deprecated method
This commit is contained in:
@@ -47,7 +47,7 @@ settingsController.get = function(req, res, callback) {
|
||||
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