Skip to content

Commit

Permalink
fixed missing auth for provider type
Browse files Browse the repository at this point in the history
  • Loading branch information
bjartek committed Sep 6, 2023
1 parent 3acffe2 commit 87b31a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/ExampleNFT-v2.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -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<auth(NonFungibleToken.Withdrawable) &ExampleNFT.Collection>(),
createEmptyCollectionFunction: (fun(): @{NonFungibleToken.Collection} {
return <-collectionRef.createEmptyCollection()
})
Expand Down Expand Up @@ -437,4 +437,4 @@ access(all) contract ExampleNFT: MultipleNFT, ViewResolver {
self.account.save(<-minter, to: self.MinterStoragePath)
}
}


0 comments on commit 87b31a1

Please sign in to comment.