1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-11-22 09:46:58 +01:00

disable that one no-confusing-arrow snippet

This commit is contained in:
Matthias Kretschmann 2017-06-13 13:59:02 +02:00
parent 955a5af4fd
commit c8902046b8
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

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