From e9da70b5b810bd88bbf733c6632f0280c34ccc9c Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 7 Aug 2021 17:39:50 +0200 Subject: construct deposit URL correctly --- packages/taler-wallet-core/src/operations/testing.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/taler-wallet-core/src/operations/testing.ts') 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 { - 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), -- cgit v1.2.3