summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/testing.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-08-07 17:39:50 +0200
committerFlorian Dold <florian@dold.me>2021-08-07 17:40:31 +0200
commite9da70b5b810bd88bbf733c6632f0280c34ccc9c (patch)
tree2ccd5de0a0b4619bc41300709b593022055d0a94 /packages/taler-wallet-core/src/operations/testing.ts
parent93e9c3b6cf5000d73b1a7d577efb3c05a07d03dd (diff)
downloadwallet-core-e9da70b5b810bd88bbf733c6632f0280c34ccc9c.tar.gz
wallet-core-e9da70b5b810bd88bbf733c6632f0280c34ccc9c.tar.bz2
wallet-core-e9da70b5b810bd88bbf733c6632f0280c34ccc9c.zip
construct deposit URL correctly
Diffstat (limited to 'packages/taler-wallet-core/src/operations/testing.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/testing.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/testing.ts b/packages/taler-wallet-core/src/operations/testing.ts
index dd7d8c7cb..d2071cd53 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),