summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-get-orders-ID.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-05 22:00:31 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-05 22:00:31 +0200
commitd37e16a76c32e83407f5ea71e572cc5469a58924 (patch)
tree0bb4849ae69ccbc94ae7424014ac9abe0d8d16d5 /src/backend/taler-merchant-httpd_private-get-orders-ID.c
parentf82923526d6f7f688677b15f416a3b41f9feff2b (diff)
downloadmerchant-d37e16a76c32e83407f5ea71e572cc5469a58924.tar.gz
merchant-d37e16a76c32e83407f5ea71e572cc5469a58924.tar.bz2
merchant-d37e16a76c32e83407f5ea71e572cc5469a58924.zip
fix #6408 also in merchant: in principle only allow rounded times over JSON
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-orders-ID.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-get-orders-ID.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-orders-ID.c b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
index e983273a..d637f5cf 100644
--- a/src/backend/taler-merchant-httpd_private-get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
@@ -1095,8 +1095,8 @@ TMH_private_get_orders_ID (const struct TMH_RequestHandler *rh,
GNUNET_break (qs >= 0); /* just warn if transaction failed */
{
struct GNUNET_JSON_Specification spec[] = {
- GNUNET_JSON_spec_absolute_time ("timestamp",
- &timestamp),
+ TALER_JSON_spec_absolute_time ("timestamp",
+ &timestamp),
GNUNET_JSON_spec_end ()
};
enum GNUNET_GenericReturnValue res;