mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix missing promise on setUserSettings
This commit is contained in:
parent
fca21ac126
commit
fc7967d455
@ -179,6 +179,7 @@ var persistentSettings = {
|
||||
userSettings[username] = settings;
|
||||
try {
|
||||
assert.deepEqual(current,settings);
|
||||
return Promise.resolve();
|
||||
} catch(err) {
|
||||
globalSettings.users = userSettings;
|
||||
return storage.saveSettings(clone(globalSettings));
|
||||
|
Loading…
Reference in New Issue
Block a user