nevermined-io/node

Downloaded file name

Closed this issue · 0 comments

Describe the bug

When an asset is downloaded, using the function sdk.nfts.access(assetDid, account) the downloaded file name has the filecoin cid, instead the filename that is present in metadata under /main/files/fileName

To Reproduce

Steps to reproduce the behavior:

  1. Download this file https://marketplace-api-public.nevermined.network/api/v1/metadata/assets/ddo/did:nv:d668c18ce98ee54995903ab38e2d72a91c38b2e7a0e93d3a6a196ab2c22d9862

Expected behavior

The downloaded file name should be "Aave-v2-LENDREP-Ethereum_20220421_00:00.csv"

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.