[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-mdb] branch master updated: move image into products _array
From: |
gnunet |
Subject: |
[taler-taler-mdb] branch master updated: move image into products _array_ |
Date: |
Fri, 11 Sep 2020 14:53:44 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository taler-mdb.
The following commit(s) were added to refs/heads/master by this push:
new a551891 move image into products _array_
a551891 is described below
commit a551891015fb28647fc0d9b33e105a12b785b0f3
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Sep 11 14:53:41 2020 +0200
move image into products _array_
---
src/main.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
index 374cde6..e03ac22 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1562,7 +1562,7 @@ launch_payment (struct Product *product)
/* create the json object for the order request */
if (NULL != product->preview)
{
- orderReq = json_pack ("{ s:s, s:{ [ s:s, s:s, s:o ]}, s:o, s:s, s:o }",
+ orderReq = json_pack ("{ s:s, s:[ { s:s, s:s, s:o } ], s:o, s:s, s:o }",
"summary", product->description,
"products",
/* */ "description", product->description,
@@ -2224,6 +2224,8 @@ handle_command (const char *hex,
return;
}
payment_activity = launch_payment (&products[i]);
+ if (NULL == payment_activity)
+ vend_failure ();
return;
}
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.