mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
Merge branch 'feature/compute-test' of https://github.com/oceanprotocol/ocean-lib-js into feature/compute-test
This commit is contained in:
commit
fbbffa4eff
@ -60,7 +60,7 @@ export class Provider extends Instantiable {
|
||||
this.getEncryptEndpoint(),
|
||||
decodeURI(JSON.stringify(args))
|
||||
)
|
||||
return await response.text()
|
||||
return (await response.json()).encryptedDocument
|
||||
} catch (e) {
|
||||
this.logger.error(e)
|
||||
throw new Error('HTTP request failed')
|
||||
|
Loading…
x
Reference in New Issue
Block a user