mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-12-29 08:07:51 +01:00
disable that one no-confusing-arrow snippet
This commit is contained in:
parent
955a5af4fd
commit
c8902046b8
@ -29,7 +29,7 @@ export default function request(url, config = {}, onlyJsonResponse = true) {
|
||||
}
|
||||
|
||||
return baseRequest(apiUrl, requestConfig)
|
||||
.then(res => onlyJsonResponse ? res.json() :
|
||||
.then((res) => onlyJsonResponse ? res.json() : // eslint-disable-line no-confusing-arrow
|
||||
{
|
||||
json: res.json(),
|
||||
url: res.url
|
||||
|
Loading…
Reference in New Issue
Block a user