Skip to content

Commit

Permalink
refactor tokenURI
Browse files Browse the repository at this point in the history
  • Loading branch information
Raul committed Nov 27, 2023
1 parent 124260f commit 1f10eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/modules/registration/RegistrationModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ contract RegistrationModule is BaseModule, IRegistrationModule, AccessControlled

string memory ipAssetAttributes = string(abi.encodePacked(
'{"trait_type": "Initial Registrant", "value": "', Strings.toHexString(uint160(ipAsset.registrant), 20), '"},',
'{"trait_type": "IP Org Type", "value": "', config.assetTypes[ipOrgAssetType_], '"},',
'{"trait_type": "IP Org Asset Type", "value": "', config.assetTypes[ipOrgAssetType_], '"},',
'{"trait_type": "Status", "value": "', Strings.toString(ipAsset.status), '"},',
'{"trait_type": "Hash", "value": "', Strings.toHexString(uint256(ipAsset.hash), 32), '"},',
'{"trait_type": "Registration Date", "value": "', Strings.toString(ipAsset.registrationDate), '"}'
Expand Down

0 comments on commit 1f10eda

Please sign in to comment.