fix withdrawal operation API path

This commit is contained in:
Florian Dold 2020-07-27 23:51:41 +05:30
parent a4f1127e0a
commit 472307a607
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -142,7 +142,7 @@ export async function getBankWithdrawalInfo(
throw Error(`can't parse URL ${talerWithdrawUri}`);
}
const reqUrl = new URL(
`api/withdraw-operations/${uriResult.withdrawalOperationId}`,
`api/withdraw-operation/${uriResult.withdrawalOperationId}`,
uriResult.bankIntegrationApiBaseUrl,
);
const resp = await ws.http.get(reqUrl.href);