[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] branch master updated: Minimizing data ret
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] branch master updated: Minimizing data returned by /history, for debugging purposes. |
Date: |
Fri, 24 Feb 2017 20:04:41 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 5e47723 Minimizing data returned by /history, for debugging purposes.
5e47723 is described below
commit 5e47723160feb1ea2c765bb392ed8ec1afd03a81
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Feb 24 20:03:55 2017 +0100
Minimizing data returned by /history, for debugging
purposes.
---
src/backend/taler-merchant-httpd_history.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_history.c
b/src/backend/taler-merchant-httpd_history.c
index 1190a03..7af8c55 100644
--- a/src/backend/taler-merchant-httpd_history.c
+++ b/src/backend/taler-merchant-httpd_history.c
@@ -46,11 +46,11 @@ pd_cb (void *cls,
json_t *response = cls;
json_t *entry;
+
/*FIXME: more details to be returned*/
GNUNET_break (NULL !=
- (entry = json_pack ("{s:s, s:o}",
- "order_id", order_id,
- "proposal_data", proposal_data)));
+ (entry = json_pack ("{s:s}",
+ "order_id", order_id)));
GNUNET_break (0 == json_array_append (response, entry));
}
@@ -123,6 +123,7 @@ MH_handler_history (struct TMH_RequestHandler *rh,
return TMH_RESPONSE_reply_internal_error (connection,
TALER_EC_HISTORY_DB_FETCH_ERROR,
"db error to get history");
+
return TMH_RESPONSE_reply_json (connection,
response,
MHD_HTTP_OK);
--
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: Minimizing data returned by /history, for debugging purposes.,
gnunet <=