commit a44c0943e831db612013b13f3b59f22741f01072
parent 0add7c44dc9f24b2b05f80706d331fdff085b8af
Author: MS <ms@taler.net>
Date: Fri, 28 May 2021 22:12:31 +0200
GET wants auth too
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/bin/taler-deployment-config-instances b/bin/taler-deployment-config-instances
@@ -62,7 +62,10 @@ authorization_header = {"Authorization": f"Bearer {TALER_ENV_FRONTENDS_APITOKEN}
def ensure_instance(instance_id, name, payto_uris, auth):
- resp = requests.get(urljoin(MERCHANT_BACKEND_BASE_URL, f"private/instances/{instance_id}"))
+ resp = requests.get(
+ urljoin(MERCHANT_BACKEND_BASE_URL, f"private/instances/{instance_id}"),
+ headers = authorization_header
+ )
# Instance exists, we PATCH the auth just in case it changed.
if resp.status_code == 200: