Skip to content

Commit

Permalink
fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sisyphusSmiling committed Apr 26, 2024
1 parent 4dcfe30 commit 87bf1b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions contracts/MetadataViews.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ pub contract MetadataViews {
/// the NFT where the type of URI is not able to be determined (i.e. HTTP,
/// IPFS, etc.)
///
pub struct URI: MetadataViews.File {
pub struct URI: File {
/// The base URI prefix, if any. Not needed for all URIs, but helpful
/// for some use cases For example, updating a whole NFT collection's
/// image host easily
Expand Down Expand Up @@ -794,9 +794,9 @@ pub contract MetadataViews {
/// data URL representating the NFT's onchain metadata at the time this
/// view is resolved.
///
pub let uri: {MetadataViews.File}
pub let uri: {File}

init(name: String, symbol: String, uri: {MetadataViews.File}) {
init(name: String, symbol: String, uri: {File}) {
self.name = name
self.symbol = symbol
self.uri = uri
Expand Down
Loading

0 comments on commit 87bf1b2

Please sign in to comment.