Skip to content

Commit

Permalink
chore: update profile token uri image
Browse files Browse the repository at this point in the history
  • Loading branch information
Darlington02 committed Jan 13, 2025
1 parent 50e8a1a commit 53b92cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/coloniznft/coloniznft.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ pub mod ColonizNFT {
fn token_uri(self: @ContractState, token_id: u256) -> ByteArray {
let mint_timestamp: u64 = self.get_token_mint_timestamp(token_id);
let profile_variant = self.profile_variants.read(token_id);
let image_url = format!("{}{}", self.base_uri.read(), token_id);
let extension: ByteArray = ".png";
let image_url = format!("{}{}{}", self.base_uri.read(), token_id, extension);
get_token_uri(profile_variant, token_id, mint_timestamp, image_url)
}
}
Expand Down

0 comments on commit 53b92cb

Please sign in to comment.