diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-products.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-products.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-products.c b/src/backend/taler-merchant-httpd_private-post-products.c index c291845a..688a1aad 100644 --- a/src/backend/taler-merchant-httpd_private-post-products.c +++ b/src/backend/taler-merchant-httpd_private-post-products.c @@ -105,8 +105,8 @@ TMH_private_post_products (const struct TMH_RequestHandler *rh, &pd.address), GNUNET_JSON_spec_int64 ("total_stock", &total_stock), - GNUNET_JSON_spec_absolute_time ("next_restock", - &pd.next_restock), + TALER_JSON_spec_absolute_time ("next_restock", + &pd.next_restock), GNUNET_JSON_spec_end () }; @@ -132,8 +132,8 @@ TMH_private_post_products (const struct TMH_RequestHandler *rh, { enum GNUNET_GenericReturnValue res; struct GNUNET_JSON_Specification spec[] = { - GNUNET_JSON_spec_absolute_time ("next_restock", - &pd.next_restock), + TALER_JSON_spec_absolute_time ("next_restock", + &pd.next_restock), GNUNET_JSON_spec_end () }; |