From 4a76dfd604520936f4332511da8ce2fa3f2d6af9 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Sat, 1 Feb 2020 16:21:59 +0200 Subject: [PATCH] fixed Url to Uri --- src/ocean/OceanCompute.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ocean/OceanCompute.ts b/src/ocean/OceanCompute.ts index 5ba2042..ce02319 100644 --- a/src/ocean/OceanCompute.ts +++ b/src/ocean/OceanCompute.ts @@ -21,12 +21,12 @@ export interface Output { publishAlgorithmLog?: boolean publishOutput?: boolean brizoAddress?: string - brizoUrl?: string + brizoUri?: string metadata?: Record - metadataUrl?: string + metadataUri?: string nodeUri?: string owner?: string - secretStoreUrl?: string + secretStoreUri?: string whitelist?: Array } @@ -114,11 +114,11 @@ export class OceanCompute extends Instantiable { return this.getminimaloutput() } if (!output.brizoAddress) output.brizoAddress = this.config.brizoAddress - if (!output.brizoUrl) output.brizoUrl = this.config.brizoUri - if (!output.metadataUrl) output.metadataUrl = this.config.aquariusUri + if (!output.brizoUri) output.brizoUri = this.config.brizoUri + if (!output.metadataUri) output.metadataUri = this.config.aquariusUri if (!output.nodeUri) output.nodeUri = this.config.nodeUri if (!output.owner) output.owner = consumerAccount.getId() - if (!output.secretStoreUrl) output.secretStoreUrl = this.config.secretStoreUri + if (!output.secretStoreUri) output.secretStoreUri = this.config.secretStoreUri return output }