From 7e00bb75af8388fda7be4fd3548f65e0724f641d Mon Sep 17 00:00:00 2001 From: Jude Zhu Date: Wed, 5 Jun 2024 18:19:49 -0700 Subject: [PATCH] added path --- pds/transactions/pds/settle.cdc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pds/transactions/pds/settle.cdc b/pds/transactions/pds/settle.cdc index bc2bae6..5862402 100644 --- a/pds/transactions/pds/settle.cdc +++ b/pds/transactions/pds/settle.cdc @@ -1,14 +1,14 @@ import PDS from "PDS" import ExampleNFT from "ExampleNFT" -transaction (distId: UInt64, nftIDs: [UInt64]) { +transaction (NFTProviderPath: String, distId: UInt64, nftIDs: [UInt64]) { prepare(pds: auth(BorrowValue) &Account) { let cap = pds.storage.borrow<&PDS.DistributionManager>(from: PDS.DistManagerStoragePath) ?? panic("pds does not have Dist manager") cap.withdraw( distId: distId, nftIDs: nftIDs, - escrowCollectionPublic: PublicPath(identifier: "cadenceExampleNFTCollection")!, + escrowCollectionPublic: PublicPath(identifier: NFTProviderPath)!, ) } }