[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: adjust fakebank revenue-api to a
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: adjust fakebank revenue-api to actually comply with the spec |
Date: |
Sun, 28 Jan 2024 19:55:52 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new ec8439e4 adjust fakebank revenue-api to actually comply with the spec
ec8439e4 is described below
commit ec8439e4bd8b3253cfe86667f771b50372d46816
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Jan 28 19:55:22 2024 +0100
adjust fakebank revenue-api to actually comply with the spec
---
src/bank-lib/fakebank_tbr.c | 10 +++++-----
src/bank-lib/fakebank_tbr_get_history.c | 4 ++--
src/bank-lib/fakebank_tbr_get_history.h | 6 +++---
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/bank-lib/fakebank_tbr.c b/src/bank-lib/fakebank_tbr.c
index de96394e..94d6ea84 100644
--- a/src/bank-lib/fakebank_tbr.c
+++ b/src/bank-lib/fakebank_tbr.c
@@ -50,12 +50,12 @@ TALER_FAKEBANK_tbr_main_ (
MHD_HTTP_METHOD_GET))
{
if ( (0 == strcmp (url,
- "/history/incoming")) &&
+ "/history")) &&
(NULL != account) )
- return TALER_FAKEBANK_tbr_get_history_incoming (h,
- connection,
- account,
- con_cls);
+ return TALER_FAKEBANK_tbr_get_history (h,
+ connection,
+ account,
+ con_cls);
if (0 == strcmp (url,
"/"))
return TALER_FAKEBANK_tbr_get_root (h,
diff --git a/src/bank-lib/fakebank_tbr_get_history.c
b/src/bank-lib/fakebank_tbr_get_history.c
index 1c0cdd78..b7d447ad 100644
--- a/src/bank-lib/fakebank_tbr_get_history.c
+++ b/src/bank-lib/fakebank_tbr_get_history.c
@@ -50,7 +50,7 @@ history_cleanup (void *cls)
MHD_RESULT
-TALER_FAKEBANK_tbr_get_history_incoming (
+TALER_FAKEBANK_tbr_get_history (
struct TALER_FAKEBANK_Handle *h,
struct MHD_Connection *connection,
const char *account,
@@ -72,7 +72,7 @@ TALER_FAKEBANK_tbr_get_history_incoming (
cc->ctx = hc;
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- "Handling /accounts/%s/taler-revenue/history/incoming
request\n",
+ "Handling /accounts/%s/taler-revenue/history request\n",
account);
if (GNUNET_OK !=
(ret = TALER_FAKEBANK_common_parse_history_args (h,
diff --git a/src/bank-lib/fakebank_tbr_get_history.h
b/src/bank-lib/fakebank_tbr_get_history.h
index 99170ab7..997c9a86 100644
--- a/src/bank-lib/fakebank_tbr_get_history.h
+++ b/src/bank-lib/fakebank_tbr_get_history.h
@@ -32,8 +32,8 @@
/**
- * Handle incoming HTTP request for /history/incoming
- * of the Anastasis API. This one can return transactions
+ * Handle incoming HTTP request for /history
+ * of the taler-revenue API. This one can return transactions
* created by debits from the exchange!
*
* @param h the fakebank handle
@@ -43,7 +43,7 @@
* @return MHD result code
*/
MHD_RESULT
-TALER_FAKEBANK_tbr_get_history_incoming (
+TALER_FAKEBANK_tbr_get_history (
struct TALER_FAKEBANK_Handle *h,
struct MHD_Connection *connection,
const char *account,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: adjust fakebank revenue-api to actually comply with the spec,
gnunet <=