diff --git a/src/user/settings.js b/src/user/settings.js index 6efbac67f3..f713b113d8 100644 --- a/src/user/settings.js +++ b/src/user/settings.js @@ -44,8 +44,9 @@ module.exports = function (User) { userSettings.uid = uids[index]; return userSettings; }); - - next(null, settings); + async.map(settings, function (userSettings, next) { + onSettingsLoaded(userSettings.uid, userSettings, next); + }, next); }, ], callback); };