Skip to content

Node.js based forum software built for the modern web

changed deprecated method

barisusakli8ccfd235adbc
diff --git a/src/controllers/accounts/settings.js b/src/controllers/accounts/settings.js
index 1e18d4a4a4..34f4f24478 100644
--- a/src/controllers/accounts/settings.js
+++ b/src/controllers/accounts/settings.js
@@ -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) {