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 authored Mar 25, 2024
1 parent 3954fbc commit a993d23
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit a993d23

Please sign in to comment.