gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] 01/02: construct deposit URL correctly


From: gnunet
Subject: [taler-wallet-core] 01/02: construct deposit URL correctly
Date: Sat, 07 Aug 2021 17:40:47 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

commit e9da70b5b810bd88bbf733c6632f0280c34ccc9c
Author: Florian Dold <florian@dold.me>
AuthorDate: Sat Aug 7 17:39:50 2021 +0200

    construct deposit URL correctly
---
 packages/taler-wallet-core/src/operations/deposits.ts | 2 +-
 packages/taler-wallet-core/src/operations/testing.ts  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/taler-wallet-core/src/operations/deposits.ts 
b/packages/taler-wallet-core/src/operations/deposits.ts
index 39391971..23083221 100644
--- a/packages/taler-wallet-core/src/operations/deposits.ts
+++ b/packages/taler-wallet-core/src/operations/deposits.ts
@@ -294,7 +294,7 @@ export async function trackDepositGroup(
 
   for (const dp of depositPermissions) {
     const url = new URL(
-      
`/deposits/${wireHash}/${depositGroup.merchantPub}/${depositGroup.contractTermsHash}/${dp.coin_pub}`,
+      
`deposits/${wireHash}/${depositGroup.merchantPub}/${depositGroup.contractTermsHash}/${dp.coin_pub}`,
       dp.exchange_url,
     );
     const sig = await ws.cryptoApi.signTrackTransaction({
diff --git a/packages/taler-wallet-core/src/operations/testing.ts 
b/packages/taler-wallet-core/src/operations/testing.ts
index dd7d8c7c..d2071cd5 100644
--- a/packages/taler-wallet-core/src/operations/testing.ts
+++ b/packages/taler-wallet-core/src/operations/testing.ts
@@ -244,7 +244,7 @@ async function checkPayment(
   merchantBackend: MerchantBackendInfo,
   orderId: string,
 ): Promise<CheckPaymentResponse> {
-  const reqUrl = new URL(`/private/orders/${orderId}`, 
merchantBackend.baseUrl);
+  const reqUrl = new URL(`private/orders/${orderId}`, merchantBackend.baseUrl);
   reqUrl.searchParams.set("order_id", orderId);
   const resp = await http.get(reqUrl.href, {
     headers: getMerchantAuthHeader(merchantBackend),

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]