fix cli tx id type
This commit is contained in:
parent
99e248d886
commit
4859883c9a
@ -39,6 +39,7 @@ import {
|
||||
setGlobalLogLevelFromString,
|
||||
summarizeTalerErrorDetail,
|
||||
TalerUriAction,
|
||||
TransactionIdStr,
|
||||
WalletNotification,
|
||||
} from "@gnu-taler/taler-util";
|
||||
import { clk } from "@gnu-taler/taler-util/clk";
|
||||
@ -423,7 +424,7 @@ transactionsCli
|
||||
.action(async (args) => {
|
||||
await withWallet(args, async (wallet) => {
|
||||
await wallet.client.call(WalletApiOperation.DeleteTransaction, {
|
||||
transactionId: args.deleteTransaction.transactionId,
|
||||
transactionId: args.deleteTransaction.transactionId as TransactionIdStr,
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -438,7 +439,8 @@ transactionsCli
|
||||
.action(async (args) => {
|
||||
await withWallet(args, async (wallet) => {
|
||||
await wallet.client.call(WalletApiOperation.SuspendTransaction, {
|
||||
transactionId: args.suspendTransaction.transactionId,
|
||||
transactionId: args.suspendTransaction
|
||||
.transactionId as TransactionIdStr,
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -453,7 +455,8 @@ transactionsCli
|
||||
.action(async (args) => {
|
||||
await withWallet(args, async (wallet) => {
|
||||
await wallet.client.call(WalletApiOperation.CancelAbortingTransaction, {
|
||||
transactionId: args.cancelAbortingTransaction.transactionId,
|
||||
transactionId: args.cancelAbortingTransaction
|
||||
.transactionId as TransactionIdStr,
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -468,7 +471,7 @@ transactionsCli
|
||||
.action(async (args) => {
|
||||
await withWallet(args, async (wallet) => {
|
||||
await wallet.client.call(WalletApiOperation.ResumeTransaction, {
|
||||
transactionId: args.resumeTransaction.transactionId,
|
||||
transactionId: args.resumeTransaction.transactionId as TransactionIdStr,
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -502,7 +505,7 @@ transactionsCli
|
||||
.action(async (args) => {
|
||||
await withWallet(args, async (wallet) => {
|
||||
await wallet.client.call(WalletApiOperation.AbortTransaction, {
|
||||
transactionId: args.abortTransaction.transactionId,
|
||||
transactionId: args.abortTransaction.transactionId as TransactionIdStr,
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -529,7 +532,7 @@ transactionsCli
|
||||
.action(async (args) => {
|
||||
await withWallet(args, async (wallet) => {
|
||||
await wallet.client.call(WalletApiOperation.RetryTransaction, {
|
||||
transactionId: args.retryTransaction.transactionId,
|
||||
transactionId: args.retryTransaction.transactionId as TransactionIdStr,
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -1413,7 +1416,7 @@ advancedCli
|
||||
.action(async (args) => {
|
||||
await withWallet(args, async (wallet) => {
|
||||
await wallet.client.call(WalletApiOperation.StartRefundQuery, {
|
||||
transactionId: args.queryRefund.transactionId,
|
||||
transactionId: args.queryRefund.transactionId as TransactionIdStr,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user