mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-22 01:36:56 +01:00
Removed parenthesis in request.js
This commit is contained in:
parent
7ac13b2045
commit
202ae6060b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user