Skip to content

Commit

Permalink
Merge pull request #209 from open-dollar/tokenuri-metadata
Browse files Browse the repository at this point in the history
Add requireMinted check
  • Loading branch information
daopunk authored Nov 13, 2023
2 parents c444287 + 4a66222 commit 53cfe7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/contracts/proxies/Vault721.sol
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ contract Vault721 is ERC721Enumerable {
* @dev generate URI with updated vault information
*/
function tokenURI(uint256 _safeId) public view override returns (string memory uri) {
_requireMinted(_safeId);
uri = nftRenderer.render(_safeId);
}

Expand Down

0 comments on commit 53cfe7d

Please sign in to comment.