[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: GET wants auth too
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: GET wants auth too |
Date: |
Fri, 28 May 2021 22:12:34 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new a44c094 GET wants auth too
a44c094 is described below
commit a44c0943e831db612013b13f3b59f22741f01072
Author: MS <ms@taler.net>
AuthorDate: Fri May 28 22:12:31 2021 +0200
GET wants auth too
---
bin/taler-deployment-config-instances | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/bin/taler-deployment-config-instances
b/bin/taler-deployment-config-instances
index 4570109..ad1feec 100755
--- 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:
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-deployment] branch master updated: GET wants auth too,
gnunet <=