Skip to content

Commit

Permalink
Make the collection path backward compatible
Browse files Browse the repository at this point in the history
Co-authored-by: Navid TehraniFar <[email protected]>
  • Loading branch information
SupunS and nvdtf committed Mar 25, 2024
1 parent 3954fbc commit 692b3de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contracts/ExampleNFT.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ access(all) contract ExampleNFT: NonFungibleToken {
// Create a Collection resource and save it to storage
let collection <- create Collection()

let identifier = "cadenceExampleNFTCollection"
let identifier = "exampleNFTCollection"
let defaultStoragePath = StoragePath(identifier: identifier)!
let defaultPublicPath = PublicPath(identifier: identifier)!

Expand Down
Loading

0 comments on commit 692b3de

Please sign in to comment.