mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-23 02:00:20 +01:00
Removed parenthesis in request.js
This commit is contained in:
parent
d05f7ef3e6
commit
2df643b8a7
@ -30,7 +30,7 @@ export default function request(url, config = {}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return baseRequest(apiUrl, requestConfig)
|
return baseRequest(apiUrl, requestConfig)
|
||||||
.then(res => (res.json()))
|
.then(res => res.json())
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
console.error(err)
|
console.error(err)
|
||||||
throw err
|
throw err
|
||||||
|
Loading…
Reference in New Issue
Block a user