commit 485f7d3603bb3c9f563cf6c5fdaabdf474e9c4d5
parent a4112bae9edd509ea66984b950c23fcbfedb66fb
Author: Florian Dold <florian@dold.me>
Date: Thu, 25 May 2023 18:23:47 +0200
-fix method
Diffstat:
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/packages/taler-wallet-core/src/operations/pay-merchant.ts b/packages/taler-wallet-core/src/operations/pay-merchant.ts
@@ -374,6 +374,7 @@ async function processDownloadProposal(
});
const httpResponse = await ws.http.fetch(orderClaimUrl, {
+ method: "POST",
body: requestBody,
timeout: getProposalRequestTimeout(retryRecord?.retryInfo),
});
diff --git a/packages/taler-wallet-core/src/operations/transactions.ts b/packages/taler-wallet-core/src/operations/transactions.ts
@@ -74,6 +74,7 @@ import {
TombstoneTag,
} from "./common.js";
import {
+ abortDepositGroup,
computeDepositTransactionStatus,
processDepositGroup,
resumeDepositGroup,
@@ -1682,6 +1683,9 @@ export async function abortTransaction(
await abortWithdrawalTransaction(ws, txId.withdrawalGroupId);
break;
}
+ case TransactionType.Deposit:
+ await abortDepositGroup(ws, txId.depositGroupId);
+ break;
default: {
const unknownTxType: any = txId.tag;
throw Error(