gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-mdb] branch master updated: adapt to latest merchant API


From: gnunet
Subject: [taler-taler-mdb] branch master updated: adapt to latest merchant API
Date: Sat, 03 Jun 2023 23:24:18 +0200

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

grothoff pushed a commit to branch master
in repository taler-mdb.

The following commit(s) were added to refs/heads/master by this push:
     new 6b2f520  adapt to latest merchant API
6b2f520 is described below

commit 6b2f520139a79d2e5fc9066edb9615d82c88ef89
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Jun 3 23:24:14 2023 +0200

    adapt to latest merchant API
---
 src/taler-mdb.c | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/src/taler-mdb.c b/src/taler-mdb.c
index d6c00b4..379363f 100644
--- a/src/taler-mdb.c
+++ b/src/taler-mdb.c
@@ -1830,27 +1830,21 @@ async_refund_cleanup_job (void *cls)
  * @brief Callback to process a POST /refund request
  *
  * @param cls closure
- * @param hr HTTP response details
- * @param refund_uri the refund uri offered to the wallet
- * @param h_contract hash of the contract a Browser may need to authorize
- *        obtaining the HTTP response.
+ * @param rr response details
  */
 static void
 refund_complete_cb (void *cls,
-                    const struct TALER_MERCHANT_HttpResponse *hr,
-                    const char *refund_uri,
-                    const struct TALER_PrivateContractHashP *h_contract)
+                    const struct TALER_MERCHANT_RefundResponse *rr)
 {
   struct Refund *r = cls;
 
-  (void) refund_uri;
   r->orh = NULL;
-  if (MHD_HTTP_OK != hr->http_status)
+  if (MHD_HTTP_OK != rr->hr.http_status)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                 "Failed to grant consumer refund: %u/%d\n",
-                hr->http_status,
-                (int) hr->ec);
+                rr->hr.http_status,
+                (int) rr->hr.ec);
   }
   GNUNET_CONTAINER_DLL_remove (refund_head,
                                refund_tail,

-- 
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]