diff --git a/src/brizo/Brizo.ts b/src/brizo/Brizo.ts index 078fae8..f093ce5 100644 --- a/src/brizo/Brizo.ts +++ b/src/brizo/Brizo.ts @@ -95,7 +95,7 @@ export class Brizo extends Instantiable { return destination } - public async computeService( + public async compute( method: string, serviceAgreementId: string, consumerAccount: Account, diff --git a/src/ocean/OceanCompute.ts b/src/ocean/OceanCompute.ts index 488c467..8060460 100644 --- a/src/ocean/OceanCompute.ts +++ b/src/ocean/OceanCompute.ts @@ -67,7 +67,7 @@ export class OceanCompute extends Instantiable { algorithmDid?: string, algorithmMeta?: MetaData ): Promise { - const status = await this.ocean.brizo.computeService( + const status = await this.ocean.brizo.compute( 'post', agreementId, consumerAccount, @@ -90,7 +90,7 @@ export class OceanCompute extends Instantiable { agreementId: string, jobId: string ): Promise { - const status = await this.ocean.brizo.computeService( + const status = await this.ocean.brizo.compute( 'put', agreementId, consumerAccount, @@ -112,7 +112,7 @@ export class OceanCompute extends Instantiable { agreementId: string, jobId: string ): Promise { - const status = await this.ocean.brizo.computeService( + const status = await this.ocean.brizo.compute( 'delete', agreementId, consumerAccount, @@ -151,7 +151,7 @@ export class OceanCompute extends Instantiable { agreementId?: string, jobId?: string ): Promise { - const status = await this.ocean.brizo.computeService( + const status = await this.ocean.brizo.compute( 'get', agreementId, consumerAccount, @@ -173,7 +173,7 @@ export class OceanCompute extends Instantiable { agreementId: string, jobId: string ): Promise { - const status = await this.ocean.brizo.computeService( + const status = await this.ocean.brizo.compute( 'get', agreementId, consumerAccount,