Skip to content

Commit

Permalink
Merge pull request #22 from dapperlabs/khaled/packnft-media-image2
Browse files Browse the repository at this point in the history
fix: fixes image link
  • Loading branch information
KhaledAylii authored Nov 25, 2022
2 parents f7a9744 + 0abe5dc commit 20830a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cadence-contracts/PackNFT.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ pub contract PackNFT: NonFungibleToken, IPackNFT {
}

pub fun assetPath(): String {
return "https://media.nflallday.com/packs/".concat(self.id.toString()).concat("/media/")
return "https://media.nflallday.com/packnfts/".concat(self.id.toString()).concat("/media/")
}

pub fun getImage(imageType: String, format: String, width: Int): String {
Expand Down

0 comments on commit 20830a5

Please sign in to comment.