commit 8850949aabb86f16aa154d47d163144ca599b71f
parent 7491fea292f6108e1bdeb62d5d6c7e1cd0237da8
Author: ms <ms@taler.net>
Date: Wed, 1 Dec 2021 17:32:42 +0100
taler-local
fix withdraw through X-Forwarded-Host
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/WIP/taler-local b/bin/WIP/taler-local
@@ -1735,7 +1735,7 @@ def withdraw(bank_host, bank_proto):
# Let the user confirm the withdrawal operation and
# get the bank wire the funds.
print_nn("Confirm withdrawal operation at the bank...")
- resp = requests.post(REV_PROXY_URL +
+ resp = requests.post(bank_base_url +
f"/sandbox/demobanks/default/access-api/accounts/{CUSTOMER_BANK_ACCOUNT}/withdrawals/{withdrawal_id}/confirm",
auth = requests.auth.HTTPBasicAuth(CUSTOMER_BANK_ACCOUNT, CUSTOMER_BANK_PASSWORD)
)