Skip to content

Commit

Permalink
Lint tx
Browse files Browse the repository at this point in the history
  • Loading branch information
lealobanov committed Dec 10, 2024
1 parent d703013 commit f900d72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cadence/transactions/create_nft_listing.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ transaction {
let tokenReceiver: Capability<&{FungibleToken.Receiver}>

prepare(signer: auth(Storage, Capabilities) &Account) {
// Retrieve the storefront capability
let storefrontCap = signer.capabilities.get<&NFTStorefront.Storefront>(
// Retrieve the storefront capability with the correct entitlement
let storefrontCap = signer.capabilities.get<auth(NFTStorefront.CreateListing) &NFTStorefront.Storefront>(
NFTStorefront.StorefrontPublicPath
)

Expand Down

0 comments on commit f900d72

Please sign in to comment.