[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: fix instance creation payload
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: fix instance creation payload |
Date: |
Wed, 14 Apr 2021 13:52:22 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new 0dc2a5f fix instance creation payload
0dc2a5f is described below
commit 0dc2a5fd1a3e61a45bd0aae9eea36884d7d8faac
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Apr 14 13:52:16 2021 +0200
fix instance creation payload
---
bin/taler-deployment-config-instances | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/taler-deployment-config-instances
b/bin/taler-deployment-config-instances
index f434822..3915ae5 100755
--- a/bin/taler-deployment-config-instances
+++ b/bin/taler-deployment-config-instances
@@ -42,9 +42,11 @@ def ensure_instance(instance_id, name, payto_uris, auth):
default_max_deposit_fee=f"{TALER_CONFIG_CURRENCY}:1",
default_wire_transfer_delay=dict(d_ms="forever"),
default_pay_delay=dict(d_ms="forever"),
+ # FIXME: Eventually, this should be an actual secret token
+ auth=dict(method="token", token="secret-token:sandbox"),
)
create_resp = requests.post(
- urljoin(MERCHANT_BACKEND_BASE_URL, "private/instances"), data=req
+ urljoin(MERCHANT_BACKEND_BASE_URL, "private/instances"), json=req
)
if create_resp.status_code < 200 or create_resp.status_code >= 300:
print(f"failed to create instance {instance_id}")
--
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: fix instance creation payload,
gnunet <=