diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-12-14 16:10:40 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-12-14 16:10:40 +0100 |
commit | ad5d54f48534ac0ad5bfd7f048bd7782e674a89b (patch) | |
tree | 4443e41c1aec412d82642b194aa3d837c9eb5cfd /src/lib/merchant_api_merchant_get_order.c | |
parent | 49e2e44b09dd845d0922c0acef5ff487b52bf26d (diff) | |
download | merchant-ad5d54f48534ac0ad5bfd7f048bd7782e674a89b.tar.gz merchant-ad5d54f48534ac0ad5bfd7f048bd7782e674a89b.tar.bz2 merchant-ad5d54f48534ac0ad5bfd7f048bd7782e674a89b.zip |
migration to protocol v11
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 () }; |