1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

fixed Url to Uri

This commit is contained in:
alexcos20 2020-02-01 16:21:59 +02:00
parent 9cf716ebe4
commit 4a76dfd604

View File

@ -21,12 +21,12 @@ export interface Output {
publishAlgorithmLog?: boolean
publishOutput?: boolean
brizoAddress?: string
brizoUrl?: string
brizoUri?: string
metadata?: Record<string, any>
metadataUrl?: string
metadataUri?: string
nodeUri?: string
owner?: string
secretStoreUrl?: string
secretStoreUri?: string
whitelist?: Array<string>
}
@ -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
}