1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00
This commit is contained in:
alexcos20 2020-09-19 15:13:47 -07:00
parent 86656490d8
commit 3f017924f7

View File

@ -308,9 +308,7 @@ export class Provider extends Instantiable {
.then((response: Response) => { .then((response: Response) => {
if (response.ok) { if (response.ok) {
const params = response.json() const params = response.json()
if(params) if (params) if (params['provider-address']) return true
if (params['provider-address'])
return true
} }
return false return false
}) })