summaryrefslogtreecommitdiff
path: root/ext/fg/js/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg/js/util.js')
-rw-r--r--ext/fg/js/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/util.js b/ext/fg/js/util.js
index 7248ae86..6f2fd28d 100644
--- a/ext/fg/js/util.js
+++ b/ext/fg/js/util.js
@@ -19,7 +19,7 @@
function invokeApiBg(action, params) {
return new Promise((resolve, reject) => {
- chrome.runtime.sendMessage({action, params}, (result, error) => {
+ chrome.runtime.sendMessage({action, params}, ({result, error}) => {
if (error) {
reject(error);
} else {