Skip to content

Commit

Permalink
Merge pull request #57 from floornfts/alicia/parse-token-id-rodeo
Browse files Browse the repository at this point in the history
Parse token ID for Rodeo mints
  • Loading branch information
chrismaddern authored Oct 1, 2024
2 parents 118c147 + cce239c commit 66ce626
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ingestors/rodeo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,13 @@ export class RodeoIngestor implements MintIngestor {
mintBuilder.setName(name).setDescription(description).setFeaturedImageUrl(image);
const totalPrice = await getRodeoFeeInEth(sale_terms_id, user.address, mintAddress, resources.alchemy);

const tokenIdNum = parseInt(tokenId);
mintBuilder.setMintOutputContract({
chainId,
address: contractAddress,
tokenId: isNaN(tokenIdNum) ? null : tokenIdNum,
});

mintBuilder.setCreator({
name: user.name,
imageUrl: user.image,
Expand Down

0 comments on commit 66ce626

Please sign in to comment.