diff --git a/src/request.js b/src/request.js index 6d98843..9b0a622 100644 --- a/src/request.js +++ b/src/request.js @@ -30,7 +30,7 @@ export default function request(url, config = {}) { } return baseRequest(apiUrl, requestConfig) - .then(res => (res.json())) + .then(res => res.json()) .catch(err => { console.error(err) throw err