Skip to content

Commit

Permalink
add ability to alter params in editions (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
austinkline authored Dec 20, 2023
1 parent c010c51 commit 5bc0fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/WrappedEditions.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub contract WrappedEditions {
case Type<MetadataViews.Medias>():
let params = "?username=".concat(wrapped.username ?? (nft.owner != nil ? nft.owner!.address.toString() : "")).concat("&raffleTickets=").concat(wrapped.tickets.toString())
let htmlMedia = MetadataViews.Media(
file: MetadataViews.IPFSFile(self.baseHtmlUrl.concat(params), nil), mediaType: "text/html"
file: MetadataViews.IPFSFile("QmVZv2s6sozWWb4dEcANaszqKWLQbieYJLysK7NGq3RGdJ".concat(params), nil), mediaType: "text/html"
)
let imageMedia = MetadataViews.Media(
file: MetadataViews.HTTPFile(url: self.baseImageUrl.concat(nft.serial.toString())), mediaType: "image/jpeg"
Expand Down

0 comments on commit 5bc0fee

Please sign in to comment.