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

Generate the download asset folder name in the same way than squid-py.

This commit is contained in:
Pedro Gutiérrez 2019-04-23 00:54:43 +02:00 committed by Pedro Gutiérrez
parent a3128a3a04
commit 8f8766d700

View File

@ -174,7 +174,7 @@ export class OceanAssets extends Instantiable {
this.logger.log("Consuming files")
resultPath = resultPath ? `${resultPath}/datafile.${ddo.shortId()}.${noZeroX(agreementId)}/` : undefined
resultPath = resultPath ? `${resultPath}/datafile.${ddo.shortId()}.${serviceDefinitionId}/` : undefined
await this.ocean.brizo.consumeService(
agreementId,
serviceEndpoint,