This commit is contained in:
Alex Yatskov 2016-10-16 18:56:49 -07:00
parent 052815ae29
commit 153e64e08e

View File

@ -69,7 +69,7 @@ class AnkiConnect {
}
if (xhr.responseText) {
resolve(JSON.parse(resp));
resolve(JSON.parse(xhr.responseText));
} else {
reject('unable to connect to plugin');
}