diff --git a/package.json b/package.json index 544281fe9..967d82b00 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nevermined-io/sdk", - "version": "2.0.0-rc16", + "version": "2.0.0-rc17", "description": "Javascript SDK for connecting with Nevermined Data Platform ", "main": "./dist/node/sdk.js", "typings": "./dist/node/sdk.d.ts", diff --git a/src/utils/DDOHelpers.ts b/src/utils/DDOHelpers.ts index ac7a4bf15..a9106d1bf 100644 --- a/src/utils/DDOHelpers.ts +++ b/src/utils/DDOHelpers.ts @@ -112,7 +112,7 @@ function getParameter( case 'duration': return String(duration) case 'tokenId': - return tokenId ? tokenId : '' + return tokenId ? tokenId.replace('did:nv:', '') : '' } return ''