summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhackademix2019-03-14 00:09:45 +0100
committerhackademix2019-03-14 00:09:45 +0100
commit295d681c1b86b9b474689b03c3e0c303a170fb88 (patch)
tree730a386a160f55dd4d3261a5d881c2ea5a733d0e /src
parent82313cc766a4b6351e76ef39c92fa3bd36576b00 (diff)
downloadnoscript-295d681c1b86b9b474689b03c3e0c303a170fb88.tar.gz
noscript-295d681c1b86b9b474689b03c3e0c303a170fb88.tar.xz
noscript-295d681c1b86b9b474689b03c3e0c303a170fb88.zip
Added missing await to async options saving.
Diffstat (limited to 'src')
-rw-r--r--src/bg/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bg/main.js b/src/bg/main.js
index e9a4055..18abe70 100644
--- a/src/bg/main.js
+++ b/src/bg/main.js
@@ -225,7 +225,7 @@
let toBeSaved = {
[obj.storage]: obj
};
- Storage.set(obj.storage, toBeSaved);
+ await Storage.set(obj.storage, toBeSaved);
}
return obj;
},