Skip to content

Commit

Permalink
add require minted
Browse files Browse the repository at this point in the history
  • Loading branch information
daopunk committed Nov 9, 2023
1 parent c444287 commit 4a66222
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 4a66222

Please sign in to comment.