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;
|
userSettings[username] = settings;
|
||||||
try {
|
try {
|
||||||
assert.deepEqual(current,settings);
|
assert.deepEqual(current,settings);
|
||||||
|
return Promise.resolve();
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
globalSettings.users = userSettings;
|
globalSettings.users = userSettings;
|
||||||
return storage.saveSettings(clone(globalSettings));
|
return storage.saveSettings(clone(globalSettings));
|
||||||
|
Loading…
Reference in New Issue
Block a user