diff --git a/src/ocean/OceanCompute.ts b/src/ocean/OceanCompute.ts index d407e45..b398a22 100644 --- a/src/ocean/OceanCompute.ts +++ b/src/ocean/OceanCompute.ts @@ -108,14 +108,14 @@ export class OceanCompute extends Instantiable { private checkOutput(consumerAccount: Account, output?: Output): Output { const isDefault = !output || (!output.publishAlgorithmLog && !output.publishOutput) - + if (isDefault) { return { publishAlgorithmLog: false, publishOutput: false } } - + return { publishAlgorithmLog: output.publishAlgorithmLog, publishOutput: output.publishOutput, @@ -127,7 +127,7 @@ export class OceanCompute extends Instantiable { secretStoreUri: output.secretStoreUri || this.config.secretStoreUri } } - + /** * Start the execution of a compute job. * @param {Account} consumerAccount The account of the consumer ordering the service.