This commit is contained in:
Julian Lam
2017-03-01 11:28:07 -05:00
parent 5411b4c234
commit b85dcb2570

View File

@@ -363,7 +363,7 @@ Upgrade.upgrade = function (callback) {
newSettings[key] = map[settings[key]] || '';
}
});
if (Object.keys(newSettings).length) {
db.setObject('user:' + uid + ':settings', newSettings, next);
} else {