Revert "fix using unfetch api"

This reverts commit 10d9c1a
This commit is contained in:
igoradamenko
2018-03-10 23:06:47 +03:00
parent 9493c61f2c
commit cd82d08dbc
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ methods.forEach(method => {
};
if (Object.keys(body).length) {
parameters.body = JSON.stringify(body);
parameters.data = body;
}
let requestUrl = `${basename}${url}`;