From f900d726c9ec7d543aab98eb79d175715736935e Mon Sep 17 00:00:00 2001 From: Lea Lobanov Date: Tue, 10 Dec 2024 18:05:32 +0400 Subject: [PATCH] Lint tx --- cadence/transactions/create_nft_listing.cdc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cadence/transactions/create_nft_listing.cdc b/cadence/transactions/create_nft_listing.cdc index 1629ce8..9f0701b 100644 --- a/cadence/transactions/create_nft_listing.cdc +++ b/cadence/transactions/create_nft_listing.cdc @@ -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( NFTStorefront.StorefrontPublicPath )