WIP
This commit is contained in:
parent
052815ae29
commit
153e64e08e
@ -69,7 +69,7 @@ class AnkiConnect {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (xhr.responseText) {
|
if (xhr.responseText) {
|
||||||
resolve(JSON.parse(resp));
|
resolve(JSON.parse(xhr.responseText));
|
||||||
} else {
|
} else {
|
||||||
reject('unable to connect to plugin');
|
reject('unable to connect to plugin');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user