gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-mdb] 51/93: fix json construction


From: gnunet
Subject: [taler-taler-mdb] 51/93: fix json construction
Date: Mon, 18 Nov 2019 21:13:14 +0100

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

marco-boss pushed a commit to branch master
in repository taler-mdb.

commit 53b6ad1820b0706fd58d2818bc1c2cf1331ad477
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Nov 11 23:19:12 2019 +0100

    fix json construction
---
 src/main.c | 2 +-
 taler.conf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.c b/src/main.c
index 4b65e13..d9f79b3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -683,7 +683,7 @@ launch_payment (const struct Product *product)
                    uuid_s);
   GNUNET_free (uuid_s);
   /* create the json object for the order request */
-  orderReq = json_pack ("{ s:s, s:s, s:s }",
+  orderReq = json_pack ("{ s:s, s:o, s:s }",
                         "summary", product->description,
                         "amount", TALER_JSON_from_amount (&product->price),
                         "fulfillment_url", fulflmntUrl);
diff --git a/taler.conf b/taler.conf
index aa4eb02..4c34022 100644
--- a/taler.conf
+++ b/taler.conf
@@ -31,7 +31,7 @@ number = 3
 
 [product-1]
 description = Twix
-price = TESTKDUOS:0.1
+price = TESTKUDOS:0.1
 key = t
 number = 2
 #snickers

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



reply via email to

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