summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-get-orders.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-25 20:32:36 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-25 20:32:36 +0200
commitd354d119db7ca0195cb93140bf3160b11449fa92 (patch)
treeae96671396a0073d4416cb59d57a7a54f87bd20b /src/backend/taler-merchant-httpd_private-get-orders.c
parent0acefc910ff1b86aa04300310d63e3ea88d509de (diff)
downloadmerchant-d354d119db7ca0195cb93140bf3160b11449fa92.tar.gz
merchant-d354d119db7ca0195cb93140bf3160b11449fa92.tar.bz2
merchant-d354d119db7ca0195cb93140bf3160b11449fa92.zip
fix #6432
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-orders.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-get-orders.c12
1 files changed, 5 insertions, 7 deletions
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) &&