From 87b31a1f52bd314aec5e249653402b01f3f72887 Mon Sep 17 00:00:00 2001 From: Bjarte Stien Karlsen Date: Wed, 6 Sep 2023 17:50:04 +0200 Subject: [PATCH] fixed missing auth for provider type --- contracts/ExampleNFT-v2.cdc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/ExampleNFT-v2.cdc b/contracts/ExampleNFT-v2.cdc index b0b134f2..d929187d 100644 --- a/contracts/ExampleNFT-v2.cdc +++ b/contracts/ExampleNFT-v2.cdc @@ -344,7 +344,7 @@ access(all) contract ExampleNFT: MultipleNFT, ViewResolver { providerPath: /private/exampleNFTCollection, publicCollection: Type<&ExampleNFT.Collection>(), publicLinkedType: Type<&ExampleNFT.Collection>(), - providerLinkedType: Type<&ExampleNFT.Collection>(), + providerLinkedType: Type(), createEmptyCollectionFunction: (fun(): @{NonFungibleToken.Collection} { return <-collectionRef.createEmptyCollection() }) @@ -437,4 +437,4 @@ access(all) contract ExampleNFT: MultipleNFT, ViewResolver { self.account.save(<-minter, to: self.MinterStoragePath) } } - \ No newline at end of file +