gnunet-svn
[Top][All Lists]
Advanced

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

[taler-donations] branch master updated: fix missing variable


From: gnunet
Subject: [taler-donations] branch master updated: fix missing variable
Date: Fri, 01 Nov 2019 17:20:45 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository donations.

The following commit(s) were added to refs/heads/master by this push:
     new d142e1d  fix missing variable
d142e1d is described below

commit d142e1d8b6d9c0aff75a281c14d311b9553613e6
Author: Florian Dold <address@hidden>
AuthorDate: Fri Nov 1 17:20:40 2019 +0100

    fix missing variable
---
 talerdonations/donations/donations.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/talerdonations/donations/donations.py 
b/talerdonations/donations/donations.py
index 22511c8..0584932 100644
--- a/talerdonations/donations/donations.py
+++ b/talerdonations/donations/donations.py
@@ -111,6 +111,7 @@ def backend_instanced_get(instance, endpoint, params):
 # @return the backend response (JSON format).
 def backend_instanced_post(instance, endpoint, json):
     backend_url = urljoin(BACKEND_BASE_URL, f"instances/{instance}/")
+    headers = {"Authorization": "ApiKey " + APIKEY}
     try:
         resp = requests.post(
             urljoin(backend_url, endpoint), json=json, headers=headers

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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