add back missing onSettingsLoaded

v1.18.x
Barış Soner Uşaklı 7 years ago committed by GitHub
parent 6b11bfd9e7
commit 6c755869cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);
};

Loading…
Cancel
Save