[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: fix contract term json
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: fix contract term json |
Date: |
Sat, 30 Nov 2019 00:03:21 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 8bc99e1 fix contract term json
8bc99e1 is described below
commit 8bc99e1fdcacade9f29fa0b4c44418817f4e5c80
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Nov 30 00:03:18 2019 +0100
fix contract term json
---
src/lib/testing_api_cmd_proposal_lookup.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/lib/testing_api_cmd_proposal_lookup.c
b/src/lib/testing_api_cmd_proposal_lookup.c
index 609e2b7..41bbfe8 100644
--- a/src/lib/testing_api_cmd_proposal_lookup.c
+++ b/src/lib/testing_api_cmd_proposal_lookup.c
@@ -136,7 +136,9 @@ proposal_lookup_cb (void *cls,
TALER_TESTING_FAIL (pls->is);
if (MHD_HTTP_OK == http_status)
{
- pls->contract_terms = (json_t*) json;
+ pls->contract_terms = json_object_get (json, "contract_terms");
+ if (NULL == pls->contract_terms)
+ TALER_TESTING_FAIL (pls->is);
json_incref (pls->contract_terms);
pls->contract_terms_hash = *hash;
}
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: fix contract term json,
gnunet <=