|
@@ -19,7 +19,7 @@ class WebClientFetch {
|
|
|
fetchOptions.body = options.body;
|
|
fetchOptions.body = options.body;
|
|
|
}
|
|
}
|
|
|
const res = yield fetch(options.url, fetchOptions);
|
|
const res = yield fetch(options.url, fetchOptions);
|
|
|
- console.log('res', res);
|
|
|
|
|
|
|
+ // console.log('res', res);
|
|
|
return res.text();
|
|
return res.text();
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
@@ -46,7 +46,7 @@ class WebClientFetch {
|
|
|
fetchOptions.body = options.body;
|
|
fetchOptions.body = options.body;
|
|
|
}
|
|
}
|
|
|
const res = yield fetch(options.url, fetchOptions);
|
|
const res = yield fetch(options.url, fetchOptions);
|
|
|
- console.log('res', res);
|
|
|
|
|
|
|
+ // console.log('res', res);
|
|
|
return res.json();
|
|
return res.json();
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|