diff options
Diffstat (limited to 'src/lib/merchant_api_merchant_get_order.c')
-rw-r--r-- | src/lib/merchant_api_merchant_get_order.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/merchant_api_merchant_get_order.c b/src/lib/merchant_api_merchant_get_order.c index 643c8a51..aedeb366 100644 --- a/src/lib/merchant_api_merchant_get_order.c +++ b/src/lib/merchant_api_merchant_get_order.c @@ -91,7 +91,7 @@ handle_unpaid (struct TALER_MERCHANT_OrderMerchantGetHandle *omgh, &osr.details.unpaid.taler_pay_uri), GNUNET_JSON_spec_string ("summary", &osr.details.unpaid.summary), - TALER_JSON_spec_absolute_time ("creation_time", + GNUNET_JSON_spec_timestamp ("creation_time", &osr.details.unpaid.creation_time), GNUNET_JSON_spec_end () }; @@ -249,7 +249,7 @@ handle_paid (struct TALER_MERCHANT_OrderMerchantGetHandle *omgh, &wt->exchange_url), GNUNET_JSON_spec_fixed_auto ("wtid", &wt->wtid), - TALER_JSON_spec_absolute_time ("execution_time", + GNUNET_JSON_spec_timestamp ("execution_time", &wt->execution_time), TALER_JSON_spec_amount_any ("amount", &wt->total_amount), @@ -324,7 +324,7 @@ handle_paid (struct TALER_MERCHANT_OrderMerchantGetHandle *omgh, &ro->refund_amount), GNUNET_JSON_spec_string ("reason", &ro->reason), - TALER_JSON_spec_absolute_time ("timestamp", + GNUNET_JSON_spec_timestamp ("timestamp", &ro->refund_time), GNUNET_JSON_spec_end () }; |