gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] 02/03: add another preflight check in /ref


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] 02/03: add another preflight check in /refund handling
Date: Sat, 06 Apr 2019 15:59:04 +0200

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

grothoff pushed a commit to branch master
in repository merchant.

commit bf231732fd23ac0f1c385a6e8ef66db8bd13af11
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Apr 6 15:57:38 2019 +0200

    add another preflight check in /refund handling
---
 src/backend/taler-merchant-httpd_refund.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/taler-merchant-httpd_refund.c 
b/src/backend/taler-merchant-httpd_refund.c
index 88417d9..0b59ebb 100644
--- a/src/backend/taler-merchant-httpd_refund.c
+++ b/src/backend/taler-merchant-httpd_refund.c
@@ -183,7 +183,6 @@ MH_handler_refund_increase (struct TMH_RequestHandler *rh,
   }
 
   db->preflight (db->cls);
-
   /* Convert order id to h_contract_terms */
   qs = db->find_contract_terms (db->cls,
                                 &contract_terms,
@@ -498,6 +497,7 @@ MH_handler_refund_lookup (struct TMH_RequestHandler *rh,
 
   /* Convert order id to h_contract_terms */
   contract_terms = NULL;
+  db->preflight (db->cls);
   qs = db->find_contract_terms (db->cls,
                                 &contract_terms,
                                 &last_session_id,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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