Skip to content

Commit

Permalink
make token id optional
Browse files Browse the repository at this point in the history
  • Loading branch information
oveddan committed Nov 28, 2023
1 parent 8a1d3c6 commit e2b6130
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/protocol-sdk/src/mint/mint-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ class MintClient {
tokenId,
}: {
tokenContract: Address;
tokenId: bigint | number | string;
tokenId?: bigint | number | string;
}) {
return await this.apiClient.getMintableForToken({
tokenContract,
tokenId: tokenId.toString(),
tokenId: tokenId?.toString(),
});
}

Expand Down

0 comments on commit e2b6130

Please sign in to comment.