diff options
Diffstat (limited to 'ext/fg/js/frontend-api-receiver.js')
-rw-r--r-- | ext/fg/js/frontend-api-receiver.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fg/js/frontend-api-receiver.js b/ext/fg/js/frontend-api-receiver.js index bde14646..7d38ddd5 100644 --- a/ext/fg/js/frontend-api-receiver.js +++ b/ext/fg/js/frontend-api-receiver.js @@ -43,10 +43,10 @@ class FrontendApiReceiver { const handler = this.handlers[action]; handler(params).then( - result => { + (result) => { this.sendResult(port, id, senderId, {result}); }, - error => { + (error) => { this.sendResult(port, id, senderId, {error: errorToJson(error)}); }); } |