diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-07-17 14:27:57 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-07-20 19:40:02 -0400 |
commit | 2514d4f1cba790acff7a01e96df49b10873aad39 (patch) | |
tree | 6cb33bf1face0bb9984442ec4cb6c0759887bcc5 /ext/bg/js/anki.js | |
parent | aae9c8f866f7389acedb1b5c619d8b702bfd23de (diff) |
Fix Anki CORS requests (#666)
Diffstat (limited to 'ext/bg/js/anki.js')
-rw-r--r-- | ext/bg/js/anki.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/anki.js b/ext/bg/js/anki.js index 55953007..a8872a52 100644 --- a/ext/bg/js/anki.js +++ b/ext/bg/js/anki.js @@ -110,7 +110,7 @@ class AnkiConnect { } async _invoke(action, params) { - const result = await requestJson(this._server, 'POST', {action, params, version: this._localVersion}); + const result = await requestJson(this._server, 'POST', {action, params, version: this._localVersion}, true); if (isObject(result)) { const error = result.error; if (typeof error !== 'undefined') { |