Currently in lines 50 and 57, tokenURI() passes 0 as the argument, however, this seems, according to my tests, wrong, since whenever an NFT is minted the counter is incremented by 1, thus, passing 0 will always revert. The first value will always be 1, since an NFT is minted above in line 44 and 55, accordingly.
Currently in lines 50 and 57, tokenURI() passes 0 as the argument, however, this seems, according to my tests, wrong, since whenever an NFT is minted the counter is incremented by 1, thus, passing 0 will always revert. The first value will always be 1, since an NFT is minted above in line 44 and 55, accordingly.