summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-09-29 17:35:51 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-09-29 17:35:51 +0530
commit6afa631b0e6881d35cf66985aafb117c9c6605e1 (patch)
treea3d6a7a9b016f8b87d01d879c02407bdfc95e4a4 /src/backend
parent9d25f3c0f66e30f6dd15a8dd53a80328054aac8d (diff)
downloadmerchant-6afa631b0e6881d35cf66985aafb117c9c6605e1.tar.gz
merchant-6afa631b0e6881d35cf66985aafb117c9c6605e1.tar.bz2
merchant-6afa631b0e6881d35cf66985aafb117c9c6605e1.zip
only complain when neither order nor contract is found
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/taler-merchant-httpd_private-get-orders-ID.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-orders-ID.c b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
index 829b3a56..74f38b32 100644
--- a/src/backend/taler-merchant-httpd_private-get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
@@ -848,13 +848,6 @@ TMH_private_get_orders_ID (const struct TMH_RequestHandler *rh,
TALER_EC_GET_ORDERS_DB_FETCH_CONTRACT_TERMS_ERROR,
NULL);
}
- if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs)
- {
- return TALER_MHD_reply_with_error (connection,
- MHD_HTTP_NOT_FOUND,
- TALER_EC_GET_ORDERS_ORDER_NOT_FOUND,
- hc->infix);
- }
{
struct GNUNET_HashCode unused;