[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] branch master updated: include tip timesta
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] branch master updated: include tip timestamp |
Date: |
Fri, 30 Aug 2019 15:16:30 +0200 |
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 821c9b0 include tip timestamp
821c9b0 is described below
commit 821c9b0f70ade602613560bca64325960955e4d6
Author: Florian Dold <address@hidden>
AuthorDate: Fri Aug 30 15:16:27 2019 +0200
include tip timestamp
---
src/backend/taler-merchant-httpd_tip-pickup.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_tip-pickup.c
b/src/backend/taler-merchant-httpd_tip-pickup.c
index dd312ff..0f1a2ca 100644
--- a/src/backend/taler-merchant-httpd_tip-pickup.c
+++ b/src/backend/taler-merchant-httpd_tip-pickup.c
@@ -625,6 +625,7 @@ MH_handler_tip_pickup_get (struct TMH_RequestHandler *rh,
struct GNUNET_HashCode tip_id;
struct TALER_Amount tip_amount;
struct TALER_Amount tip_amount_left;
+ struct GNUNET_TIME_Absolute timestamp;
int ret;
int qs;
@@ -668,7 +669,7 @@ MH_handler_tip_pickup_get (struct TMH_RequestHandler *rh,
&extra,
&tip_amount,
&tip_amount_left,
- NULL);
+ ×tamp);
if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT != qs)
{
@@ -702,10 +703,11 @@ MH_handler_tip_pickup_get (struct TMH_RequestHandler *rh,
}
ret = TMH_RESPONSE_reply_json_pack (connection,
MHD_HTTP_OK,
- "{s:s, s:o, s:o, s:o}",
+ "{s:s, s:o, s:o, s:o, s:o}",
"exchange_url", exchange_url,
"amount", TALER_JSON_from_amount
(&tip_amount),
"amount_left", TALER_JSON_from_amount
(&tip_amount_left),
+ "stamp_created",
GNUNET_JSON_from_time_abs (timestamp),
"extra", extra);
GNUNET_free (exchange_url);
--
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: include tip timestamp,
gnunet <=