From d37e16a76c32e83407f5ea71e572cc5469a58924 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 5 Jul 2020 22:00:31 +0200 Subject: fix #6408 also in merchant: in principle only allow rounded times over JSON --- src/backend/taler-merchant-httpd_private-post-products-ID-lock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/taler-merchant-httpd_private-post-products-ID-lock.c') diff --git a/src/backend/taler-merchant-httpd_private-post-products-ID-lock.c b/src/backend/taler-merchant-httpd_private-post-products-ID-lock.c index ddd891a6..aac8b8c9 100644 --- a/src/backend/taler-merchant-httpd_private-post-products-ID-lock.c +++ b/src/backend/taler-merchant-httpd_private-post-products-ID-lock.c @@ -51,8 +51,8 @@ TMH_private_post_products_ID_lock (const struct TMH_RequestHandler *rh, &uuid), GNUNET_JSON_spec_uint32 ("quantity", &quantity), - GNUNET_JSON_spec_relative_time ("duration", - &duration), + TALER_JSON_spec_relative_time ("duration", + &duration), GNUNET_JSON_spec_end () }; -- cgit v1.2.3