mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-28 18:29:50 +01:00
lint
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user