aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-post-reserves-ID-authorize-tip.c
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-06-12 18:52:20 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-06-12 18:52:20 -0400
commitae2bfdbeaaa2ef289e79c0b57c428672a8157ff0 (patch)
tree775e7f19c117c442a81efe68a5f61f38eb231099 /src/backend/taler-merchant-httpd_private-post-reserves-ID-authorize-tip.c
parent3f2b7316255c1a583c7720b3e7624ab16d4378b2 (diff)
fixed authorize tip and tests for GET /private/tips
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-reserves-ID-authorize-tip.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-post-reserves-ID-authorize-tip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-reserves-ID-authorize-tip.c b/src/backend/taler-merchant-httpd_private-post-reserves-ID-authorize-tip.c
index 0b363cfb..61e2b38a 100644
--- a/src/backend/taler-merchant-httpd_private-post-reserves-ID-authorize-tip.c
+++ b/src/backend/taler-merchant-httpd_private-post-reserves-ID-authorize-tip.c
@@ -149,6 +149,7 @@ authorize_tip (const struct TMH_RequestHandler *rh,
(NULL == uri_path) ? "" : "/",
hc->instance->settings.id,
hash_enc.encoding));
+ GNUNET_TIME_round_abs (&expiration);
res = TALER_MHD_reply_json_pack (connection,
MHD_HTTP_OK,
"{s:s, s:s, s:o}",