WIP Изменены запросы

This commit is contained in:
Daria Golova
2022-11-16 12:50:49 +03:00
parent c1010ce60f
commit ca1b452cfa
3 changed files with 12 additions and 16 deletions

View File

@@ -13,7 +13,6 @@ function handleRequest(method, url, headers, attempts, body) {
})
.then((res) => {
if (res._bodyText) return res.json();
return res.ok;
})
.catch((err) => {
console.log(err);