diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-07-24 09:12:52 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-07-24 09:12:52 +0200 |
commit | fb23045fe1d062cd4f26f3265ac94ded47660abd (patch) | |
tree | b2c4f905f989aaca17830d18a1f7616753800993 /src/lib/merchant_api_post_transfers.c | |
parent | f9fc9f73df9eb5544882815abe0afe8d789a4ef6 (diff) | |
download | merchant-fb23045fe1d062cd4f26f3265ac94ded47660abd.tar.gz merchant-fb23045fe1d062cd4f26f3265ac94ded47660abd.tar.bz2 merchant-fb23045fe1d062cd4f26f3265ac94ded47660abd.zip |
implement #6939 transformation
Diffstat (limited to 'src/lib/merchant_api_post_transfers.c')
-rw-r--r-- | src/lib/merchant_api_post_transfers.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/merchant_api_post_transfers.c b/src/lib/merchant_api_post_transfers.c index a9eaf288..3e1a55d5 100644 --- a/src/lib/merchant_api_post_transfers.c +++ b/src/lib/merchant_api_post_transfers.c @@ -103,9 +103,9 @@ handle_post_transfers_finished (void *cls, struct GNUNET_TIME_Absolute execution_time; json_t *deposit_sums; struct GNUNET_JSON_Specification spec[] = { - TALER_JSON_spec_amount ("total", + TALER_JSON_spec_amount_any ("total", &total), - TALER_JSON_spec_amount ("wire_fee", + TALER_JSON_spec_amount_any ("wire_fee", &wire_fee), TALER_JSON_spec_absolute_time ("execution_time", &execution_time), @@ -148,9 +148,9 @@ handle_post_transfers_finished (void *cls, struct GNUNET_JSON_Specification ispec[] = { GNUNET_JSON_spec_string ("order_id", &d->order_id), - TALER_JSON_spec_amount ("deposit_value", + TALER_JSON_spec_amount_any ("deposit_value", &d->deposit_value), - TALER_JSON_spec_amount ("deposit_fee", + TALER_JSON_spec_amount_any ("deposit_fee", &d->deposit_fee), GNUNET_JSON_spec_end () }; |