[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] branch master updated: products must be ar
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] branch master updated: products must be array, not object |
Date: |
Tue, 16 Jan 2018 03:30:40 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 0dc840d products must be array, not object
0dc840d is described below
commit 0dc840d7c83f176858f3ea9c381c1e76344fa3be
Author: Florian Dold <address@hidden>
AuthorDate: Tue Jan 16 03:30:34 2018 +0100
products must be array, not object
---
src/backend/taler-merchant-httpd_proposal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd_proposal.c
b/src/backend/taler-merchant-httpd_proposal.c
index 01d3c5a..278a28e 100644
--- a/src/backend/taler-merchant-httpd_proposal.c
+++ b/src/backend/taler-merchant-httpd_proposal.c
@@ -257,7 +257,7 @@ proposal_put (struct MHD_Connection *connection,
{
// FIXME: When there is no explicit product,
// should we create a singleton product list?
- json_object_set_new (order, "products", json_object ());
+ json_object_set_new (order, "products", json_array ());
}
const char *instance = json_string_value (json_object_get (order,
"instance"));
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant] branch master updated: products must be array, not object,
gnunet <=