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
|
||||
)
|
||||
|
||||
let serviceEndpoint
|
||||
if (serviceAgreementId)
|
||||
serviceEndpoint = await this.getEndpointFromAgreement(
|
||||
'compute',
|
||||
serviceAgreementId
|
||||
)
|
||||
else serviceEndpoint = await this.getComputeEndpoint()
|
||||
const serviceEndpoint = serviceAgreementId
|
||||
? await this.getEndpointFromAgreement('compute', serviceAgreementId)
|
||||
: this.getComputeEndpoint()
|
||||
|
||||
if (!serviceEndpoint) {
|
||||
throw new Error(
|
||||
|
Loading…
Reference in New Issue
Block a user