Fix ABI query using http getter.

This commit is contained in:
Spencer Ofwiti 2021-05-18 10:38:19 +03:00
parent 506be2eb5b
commit 08fda5390a

View File

@ -6,7 +6,7 @@ HttpGetter.prototype.get = (filename) =>
new Promise((resolve, reject) => {
fetch(filename).then((response) => {
if (response.ok) {
resolve(response.json());
resolve(response.text());
} else {
reject(rejectBody(response));
}