aboutsummaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_responses.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.c')
-rw-r--r--src/exchange/taler-exchange-httpd_responses.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c
index e05b537ec..72d1ddb75 100644
--- a/src/exchange/taler-exchange-httpd_responses.c
+++ b/src/exchange/taler-exchange-httpd_responses.c
@@ -450,8 +450,7 @@ TEH_RESPONSE_reply_unknown_denom_pub_hash (
450 return TALER_MHD_REPLY_JSON_PACK ( 450 return TALER_MHD_REPLY_JSON_PACK (
451 connection, 451 connection,
452 MHD_HTTP_NOT_FOUND, 452 MHD_HTTP_NOT_FOUND,
453 GNUNET_JSON_pack_uint64 ("code", 453 TALER_JSON_pack_ec (TALER_EC_EXCHANGE_GENERIC_DENOMINATION_KEY_UNKNOWN),
454 TALER_EC_EXCHANGE_GENERIC_DENOMINATION_KEY_UNKNOWN),
455 GNUNET_JSON_pack_time_abs ("timestamp", 454 GNUNET_JSON_pack_time_abs ("timestamp",
456 now), 455 now),
457 GNUNET_JSON_pack_data_auto ("exchange_pub", 456 GNUNET_JSON_pack_data_auto ("exchange_pub",
@@ -501,8 +500,7 @@ TEH_RESPONSE_reply_expired_denom_pub_hash (
501 return TALER_MHD_REPLY_JSON_PACK ( 500 return TALER_MHD_REPLY_JSON_PACK (
502 connection, 501 connection,
503 MHD_HTTP_GONE, 502 MHD_HTTP_GONE,
504 GNUNET_JSON_pack_uint64 ("code", 503 TALER_JSON_pack_ec (ec),
505 ec),
506 GNUNET_JSON_pack_string ("oper", 504 GNUNET_JSON_pack_string ("oper",
507 oper), 505 oper),
508 GNUNET_JSON_pack_time_abs ("timestamp", 506 GNUNET_JSON_pack_time_abs ("timestamp",
@@ -550,10 +548,7 @@ TEH_RESPONSE_reply_coin_insufficient_funds (
550 return TALER_MHD_REPLY_JSON_PACK ( 548 return TALER_MHD_REPLY_JSON_PACK (
551 connection, 549 connection,
552 MHD_HTTP_CONFLICT, 550 MHD_HTTP_CONFLICT,
553 GNUNET_JSON_pack_string ("hint", 551 TALER_JSON_pack_ec (ec),
554 TALER_ErrorCode_get_hint (ec)),
555 GNUNET_JSON_pack_uint64 ("code",
556 ec),
557 GNUNET_JSON_pack_array_steal ("history", 552 GNUNET_JSON_pack_array_steal ("history",
558 history)); 553 history));
559} 554}