gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: only complain when neither order


From: gnunet
Subject: [taler-merchant] branch master updated: only complain when neither order nor contract is found
Date: Tue, 29 Sep 2020 14:05:58 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 6afa631  only complain when neither order nor contract is found
6afa631 is described below

commit 6afa631b0e6881d35cf66985aafb117c9c6605e1
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Tue Sep 29 17:35:51 2020 +0530

    only complain when neither order nor contract is found
---
 src/backend/taler-merchant-httpd_private-get-orders-ID.c | 7 -------
 1 file changed, 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 829b3a5..74f38b3 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;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]