refactor: remove commented out code

v1.18.x
Barış Soner Uşaklı 6 years ago
parent b9105ef9c6
commit ec98945a5f

@ -30,9 +30,6 @@ module.exports = function (User) {
return userSettings;
});
return await Promise.all(settings.map(s => onSettingsLoaded(s.uid, s)));
// async.map(settings, function (userSettings, next) {
// onSettingsLoaded(userSettings.uid, userSettings, next);
// }, next);
};
async function onSettingsLoaded(uid, settings) {

Loading…
Cancel
Save