Skip to content

Commit bcd9dd7

Browse files
committed
handle new insight ToNFT extension types
1 parent 9a19b08 commit bcd9dd7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Thirdweb/Thirdweb.Indexer/ThirdwebInsight.Extensions.cs

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ public static NFT ToNFT(this Token_NFT token)
1515
{
1616
"ERC721" => NFTType.ERC721,
1717
"ERC1155" => NFTType.ERC1155,
18+
"erc721" => NFTType.ERC721,
19+
"erc1155" => NFTType.ERC1155,
1820
_ => throw new Exception($"Unknown NFT type: {token.Contract.Type}")
1921
},
2022
Metadata = new NFTMetadata()

0 commit comments

Comments
 (0)