Skip to content

Commit

Permalink
Add check for nft/sft type
Browse files Browse the repository at this point in the history
  • Loading branch information
danielailie committed Sep 19, 2023
1 parent bd80ce7 commit c558348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/assets/assets-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class AssetsQuery {
// TODO(whiteListedStorage): handle whitelisting in a different way
// then uncomment where TODO(whiteListedStorage)
// const defaultQuery = 'hasUris=true&isWhitelistedStorage=true';
const defaultQuery = 'hasUris=true';
const defaultQuery = 'hasUris=true&type=NonFungibleESDT,SemiFungibleESDT';
if (this.query.includes(defaultQuery) || !addDefaultQuery) return this.query;
return this.addQuery(defaultQuery).build(false);
}
Expand Down

0 comments on commit c558348

Please sign in to comment.