Removed parenthesis in request.js

This commit is contained in:
michielmulders 2017-08-18 14:18:23 +02:00 committed by tim
parent d05f7ef3e6
commit 2df643b8a7
1 changed files with 1 additions and 1 deletions

View File

@ -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