mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
fix typo
This commit is contained in:
parent
7f6c192f9a
commit
fd64b6cc00
@ -306,7 +306,7 @@ export class Provider extends Instantiable {
|
|||||||
try {
|
try {
|
||||||
const response = await this.ocean.utils.fetch.get(url)
|
const response = await this.ocean.utils.fetch.get(url)
|
||||||
if (response?.ok) {
|
if (response?.ok) {
|
||||||
const params = response.json()
|
const params = await response.json()
|
||||||
if (params && params['provider-address']) return true
|
if (params && params['provider-address']) return true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user