gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: fix auth


From: gnunet
Subject: [taler-deployment] branch master updated: fix auth
Date: Fri, 17 Jul 2020 18:54:13 +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 98f972c  fix auth
98f972c is described below

commit 98f972c0682efaa281cafa8c32a81e5ccf1c3b3a
Author: MS <ms@taler.net>
AuthorDate: Fri Jul 17 18:54:08 2020 +0200

    fix auth
---
 bin/taler-config-instances | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/bin/taler-config-instances b/bin/taler-config-instances
index c6c9afe..608e00d 100755
--- a/bin/taler-config-instances
+++ b/bin/taler-config-instances
@@ -1,7 +1,6 @@
 #!/usr/bin/env python3
 
 from requests import post
-from requests.auth import HTTPBasicAuth
 from os import environ
 from sys import exit
 
@@ -37,7 +36,7 @@ blog_config = dict(
 )
 
 expectResponse(
-        post(INSTANCE_CONFIG_URL, json=blog_config, 
auth=HTTPBasicAuth("ApiKey", "sandbox")),
+    post(INSTANCE_CONFIG_URL, json=blog_config, headers={"Authorization": 
"ApiKey sandbox"}),
     204
 )
 
@@ -58,7 +57,7 @@ donations_config = dict(
 )
 
 expectResponse(
-    post(INSTANCE_CONFIG_URL, json=donations_config),
+    post(INSTANCE_CONFIG_URL, json=donations_config, headers={"Authorization": 
"ApiKey sandbox"}),
     204
 )
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]