diff --git a/package.json b/package.json index 770f35222..10585ba96 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nevermined-io/sdk", - "version": "2.0.0-rc19", + "version": "2.0.0-rc20", "description": "Javascript SDK for connecting with Nevermined Data Platform ", "main": "./dist/node/sdk.js", "typings": "./dist/node/sdk.d.ts", diff --git a/src/nevermined/api/SearchApi.ts b/src/nevermined/api/SearchApi.ts index 62075d7e2..8fb482eb5 100644 --- a/src/nevermined/api/SearchApi.ts +++ b/src/nevermined/api/SearchApi.ts @@ -610,7 +610,7 @@ export class SearchApi extends Instantiable { return this.servicesByNftContract( nftContractAddress, nftType, - subscriptionDid, + subscriptionDid.replace('did:nv:', ''), customNestedQueries, offset, page, @@ -770,7 +770,7 @@ export class SearchApi extends Instantiable { return this.datasetsByNftContract( nftContractAddress, nftType, - subscriptionDid, + subscriptionDid.replace('did:nv:', ''), customNestedQueries, offset, page,