From a993d2323f97b9fb76f8c29b1c8b2d3fae57c8b8 Mon Sep 17 00:00:00 2001 From: Supun Setunga Date: Mon, 25 Mar 2024 08:52:02 -0700 Subject: [PATCH] Make the collection path backward compatible Co-authored-by: Navid TehraniFar --- contracts/ExampleNFT.cdc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/ExampleNFT.cdc b/contracts/ExampleNFT.cdc index 0b2bf56..d9c18d1 100644 --- a/contracts/ExampleNFT.cdc +++ b/contracts/ExampleNFT.cdc @@ -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)!