summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_helper.c')
-rw-r--r--src/backend/taler-merchant-httpd_helper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/taler-merchant-httpd_helper.c b/src/backend/taler-merchant-httpd_helper.c
index fe686dd3..e271cbaa 100644
--- a/src/backend/taler-merchant-httpd_helper.c
+++ b/src/backend/taler-merchant-httpd_helper.c
@@ -195,7 +195,7 @@ TMH_products_array_valid (const json_t *products)
struct TALER_Amount price;
const char *image_data_url = NULL;
json_t *taxes = NULL;
- struct GNUNET_TIME_Absolute delivery_date;
+ struct GNUNET_TIME_Timestamp delivery_date;
struct GNUNET_JSON_Specification spec[] = {
GNUNET_JSON_spec_mark_optional (
GNUNET_JSON_spec_string ("product_id",
@@ -222,8 +222,8 @@ TMH_products_array_valid (const json_t *products)
GNUNET_JSON_spec_json ("taxes",
&taxes)),
GNUNET_JSON_spec_mark_optional (
- GNUNET_JSON_spec_absolute_time ("delivery_date",
- &delivery_date)),
+ GNUNET_JSON_spec_timestamp ("delivery_date",
+ &delivery_date)),
GNUNET_JSON_spec_end ()
};
const char *ename;