Added missing await to async options saving.

This commit is contained in:
hackademix 2019-03-14 00:09:45 +01:00
parent 82313cc766
commit 295d681c1b
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@
let toBeSaved = {
[obj.storage]: obj
};
Storage.set(obj.storage, toBeSaved);
await Storage.set(obj.storage, toBeSaved);
}
return obj;
},