From d354d119db7ca0195cb93140bf3160b11449fa92 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 25 Aug 2020 20:32:36 +0200 Subject: fix #6432 --- src/backend/taler-merchant-httpd_private-get-orders.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/backend/taler-merchant-httpd_private-get-orders.c') diff --git a/src/backend/taler-merchant-httpd_private-get-orders.c b/src/backend/taler-merchant-httpd_private-get-orders.c index b98b3b76..c8a13382 100644 --- a/src/backend/taler-merchant-httpd_private-get-orders.c +++ b/src/backend/taler-merchant-httpd_private-get-orders.c @@ -473,11 +473,10 @@ TMH_private_get_orders (const struct TMH_RequestHandler *rh, if (TALER_EC_NONE != aos->result) { GNUNET_break (0); - return TALER_MHD_reply_with_error ( - connection, - MHD_HTTP_INTERNAL_SERVER_ERROR, - aos->result, - TALER_ErrorCode_get_hint (aos->result)); + return TALER_MHD_reply_with_error (connection, + MHD_HTTP_INTERNAL_SERVER_ERROR, + aos->result, + NULL); } return TALER_MHD_reply_json_pack (connection, MHD_HTTP_OK, @@ -643,8 +642,7 @@ TMH_private_get_orders (const struct TMH_RequestHandler *rh, return TALER_MHD_reply_with_error (connection, MHD_HTTP_INTERNAL_SERVER_ERROR, aos_result, - TALER_ErrorCode_get_hint ( - aos_result)); + NULL); } } if ( (0 == qs) && -- cgit v1.2.3