aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-03-08 01:06:13 +0100
committerFlorian Dold <florian@dold.me>2024-03-08 01:06:13 +0100
commitb4ab2fcdf3e1bbc0ca9096661a1812481dca58b3 (patch)
treec6e09a24003360ff377a9cb64247a43d0adba851 /packages/taler-wallet-cli
parentae34a78ff026e2e96b1e15319157d36c57745665 (diff)
downloadwallet-core-b4ab2fcdf3e1bbc0ca9096661a1812481dca58b3.tar.xz
wallet-core: remove deprecated peer...PaymentId
Diffstat (limited to 'packages/taler-wallet-cli')
-rw-r--r--packages/taler-wallet-cli/src/index.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts
index 5c0bfe3cf..32b1eb901 100644
--- a/packages/taler-wallet-cli/src/index.ts
+++ b/packages/taler-wallet-cli/src/index.ts
@@ -1057,13 +1057,14 @@ peerCli
peerCli
.subcommand("confirmIncomingPayPull", "confirm-pull-debit")
- .requiredArgument("peerPullDebitId", clk.STRING)
+ .requiredArgument("transactionId", clk.STRING)
.action(async (args) => {
await withWallet(args, async (wallet) => {
const resp = await wallet.client.call(
WalletApiOperation.ConfirmPeerPullDebit,
{
- peerPullDebitId: args.confirmIncomingPayPull.peerPullDebitId,
+ transactionId: args.confirmIncomingPayPull
+ .transactionId as TransactionIdStr,
},
);
console.log(JSON.stringify(resp, undefined, 2));