mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
comments fixes
This commit is contained in:
parent
0f51014d71
commit
2aee1bff7b
@ -129,13 +129,9 @@ export class Brizo extends Instantiable {
|
|||||||
signatureMessage
|
signatureMessage
|
||||||
)
|
)
|
||||||
|
|
||||||
let serviceEndpoint
|
const serviceEndpoint = serviceAgreementId
|
||||||
if (serviceAgreementId)
|
? await this.getEndpointFromAgreement('compute', serviceAgreementId)
|
||||||
serviceEndpoint = await this.getEndpointFromAgreement(
|
: this.getComputeEndpoint()
|
||||||
'compute',
|
|
||||||
serviceAgreementId
|
|
||||||
)
|
|
||||||
else serviceEndpoint = await this.getComputeEndpoint()
|
|
||||||
|
|
||||||
if (!serviceEndpoint) {
|
if (!serviceEndpoint) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
|
Loading…
Reference in New Issue
Block a user