mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2025-02-14 21:10:32 +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)
|
return baseRequest(apiUrl, requestConfig)
|
||||||
.then(res => onlyJsonResponse ? res.json() :
|
.then((res) => onlyJsonResponse ? res.json() : // eslint-disable-line no-confusing-arrow
|
||||||
{
|
{
|
||||||
json: res.json(),
|
json: res.json(),
|
||||||
url: res.url
|
url: res.url
|
||||||
|
Loading…
x
Reference in New Issue
Block a user