aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/anki-connect.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-07-19 21:28:09 -0700
committerAlex Yatskov <alex@foosoft.net>2017-07-19 21:28:09 -0700
commitfe137e94c92cf0366735936b6ac82dc147b1ad33 (patch)
tree76382040a15ef4fb32d6a8dfb5a7ecc023ab2fde /ext/bg/js/anki-connect.js
parent62db3d74b8042dd3185a7a552920a2ce7a4bd4ab (diff)
cleanup
Diffstat (limited to 'ext/bg/js/anki-connect.js')
-rw-r--r--ext/bg/js/anki-connect.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/anki-connect.js b/ext/bg/js/anki-connect.js
index a4d8ba3f..567e8d3f 100644
--- a/ext/bg/js/anki-connect.js
+++ b/ext/bg/js/anki-connect.js
@@ -64,6 +64,6 @@ class AnkiConnect {
}
ankiInvoke(action, params) {
- return jsonRequest(this.server, 'POST', {action, params, version: this.localVersion});
+ return requestJson(this.server, 'POST', {action, params, version: this.localVersion});
}
}