[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: -formatting, don't use deprec
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: -formatting, don't use deprecated method |
Date: |
Thu, 14 Sep 2023 20:58:44 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new c919c30ef -formatting, don't use deprecated method
c919c30ef is described below
commit c919c30ef3c5a2988823e4d76c8e22067db88804
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Sep 14 20:58:40 2023 +0200
-formatting, don't use deprecated method
---
packages/taler-wallet-core/src/wallet.ts | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/packages/taler-wallet-core/src/wallet.ts
b/packages/taler-wallet-core/src/wallet.ts
index 2d0878afc..9091a92bf 100644
--- a/packages/taler-wallet-core/src/wallet.ts
+++ b/packages/taler-wallet-core/src/wallet.ts
@@ -923,9 +923,9 @@ async function dumpCoins(ws: InternalWalletState):
Promise<CoinDumpJson> {
ageCommitmentProof: c.ageCommitmentProof,
spend_allocation: c.spendAllocation
? {
- amount: c.spendAllocation.amount,
- id: c.spendAllocation.id,
- }
+ amount: c.spendAllocation.amount,
+ id: c.spendAllocation.id,
+ }
: undefined,
});
}
@@ -1261,7 +1261,10 @@ async function dispatchRequestInternal<Op extends
WalletApiOperation>(
`templates/${url.templateId}`,
url.merchantBaseUrl,
);
- const httpReq = await ws.http.postJson(reqUrl.href, templateDetails);
+ const httpReq = await ws.http.fetch(reqUrl.href, {
+ method: "POST",
+ body: templateDetails,
+ });
const resp = await readSuccessResponseJsonOrThrow(
httpReq,
codecForMerchantPostOrderResponse(),
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: -formatting, don't use deprecated method,
gnunet <=