gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: implement bank client to comply


From: gnunet
Subject: [taler-merchant] branch master updated: implement bank client to comply with spec
Date: Sun, 28 Jan 2024 19:56:29 +0100

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

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new a519c622 implement bank client to comply with spec
a519c622 is described below

commit a519c6229c83ac8bcf405f1b96043f9e1eb396f9
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Jan 28 19:56:26 2024 +0100

    implement bank client to comply with spec
---
 src/bank/mb_credit.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/bank/mb_credit.c b/src/bank/mb_credit.c
index 65da86e0..f7b09350 100644
--- a/src/bank/mb_credit.c
+++ b/src/bank/mb_credit.c
@@ -18,7 +18,7 @@
 */
 /**
  * @file bank/mb_credit.c
- * @brief Implementation of the /history/incoming
+ * @brief Implementation of the /history
  *        requests of the libeufin's Taler merchant facade
  * @author Christian Grothoff
  * @author Marcello Stanisci
@@ -29,7 +29,7 @@
 
 
 /**
- * @brief A /history/incoming Handle
+ * @brief A /history Handle
  */
 struct TALER_MERCHANT_BANK_CreditHistoryHandle
 {
@@ -136,7 +136,7 @@ parse_account_history (struct 
TALER_MERCHANT_BANK_CreditHistoryHandle *hh,
 
 /**
  * Function called when we're done processing the
- * HTTP /history/incoming request.
+ * HTTP "/history" request.
  *
  * @param cls the `struct TALER_MERCHANT_BANK_CreditHistoryHandle`
  * @param response_code HTTP response code, 0 on error
@@ -246,13 +246,13 @@ TALER_MERCHANT_BANK_credit_history (
          (! GNUNET_TIME_relative_is_zero (timeout)) )
       GNUNET_snprintf (url,
                        sizeof (url),
-                       "history/incoming?delta=%lld&long_poll_ms=%llu",
+                       "history?delta=%lld&long_poll_ms=%llu",
                        (long long) num_results,
                        tms);
     else
       GNUNET_snprintf (url,
                        sizeof (url),
-                       "history/incoming?delta=%lld",
+                       "history?delta=%lld",
                        (long long) num_results);
   }
   else
@@ -261,14 +261,14 @@ TALER_MERCHANT_BANK_credit_history (
          (! GNUNET_TIME_relative_is_zero (timeout)) )
       GNUNET_snprintf (url,
                        sizeof (url),
-                       
"history/incoming?delta=%lld&start=%llu&long_poll_ms=%llu",
+                       "history?delta=%lld&start=%llu&long_poll_ms=%llu",
                        (long long) num_results,
                        (unsigned long long) start_row,
                        tms);
     else
       GNUNET_snprintf (url,
                        sizeof (url),
-                       "history/incoming?delta=%lld&start=%llu",
+                       "history?delta=%lld&start=%llu",
                        (long long) num_results,
                        (unsigned long long) start_row);
   }

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