gnunet-svn
[Top][All Lists]
Advanced

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

[taler-deployment] branch master updated: instance config.


From: gnunet
Subject: [taler-deployment] branch master updated: instance config.
Date: Fri, 17 Jul 2020 17:16: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 a5b6b36  instance config.
a5b6b36 is described below

commit a5b6b369a11b1f767ad604939be55968e66b1ffc
Author: MS <ms@taler.net>
AuthorDate: Wed Jul 15 18:51:29 2020 +0200

    instance config.
    
    The instances are now accepted by the merchant.
---
 bin/taler-config-instances | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/taler-config-instances b/bin/taler-config-instances
index 6deb106..6ad0bc7 100755
--- a/bin/taler-config-instances
+++ b/bin/taler-config-instances
@@ -1,6 +1,6 @@
 #!/usr/bin/env python3
 
-import requests
+from requests import post
 
 MERCHANT_BACKEND_BASE_URL = "http://localhost:9966";
 INSTANCE_CONFIG_URL = "{}/private/instances".format(MERCHANT_BACKEND_BASE_URL)
@@ -19,7 +19,7 @@ def expectResponse(response, expected_status_code):
 # configure blog
 print("configuring Blog")
 blog_config = dict(
-    payto_uris=list("payto://x-taler-bank/blog"),
+    payto_uris=["payto://x-taler-bank/"],
     id="blog",
     name="Blog",
     address=dict(),
@@ -40,7 +40,7 @@ expectResponse(
 # configure donation shop
 print("configuring Donations")
 donations_config = dict(
-    payto_uris=list("payto://x-taler-bank/donations"),
+    payto_uris=["payto://x-taler-bank/"],
     id="donations",
     name="Donations",
     address=dict(),
@@ -53,7 +53,7 @@ donations_config = dict(
 )
 
 expectResponse(
-    post(INSTANCE_CONFIG_URL, json=blog_config),
+    post(INSTANCE_CONFIG_URL, json=donations_config),
     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]