gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: more libeufin like fakebank path


From: gnunet
Subject: [taler-exchange] branch master updated: more libeufin like fakebank paths
Date: Thu, 24 Aug 2023 12:26:27 +0200

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 4f2127c6 more libeufin like fakebank paths
4f2127c6 is described below

commit 4f2127c69a95aadce96b1cfe441721045c8766c8
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Aug 24 12:26:21 2023 +0200

    more libeufin like fakebank paths
---
 src/bank-lib/fakebank.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index c0eb41bd..2241c494 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -4430,6 +4430,20 @@ handle_mhd_request (void *cls,
                                upload_data_size,
                                con_cls);
   }
+  /* Next is duplication to be more libeufin-like: */
+  if (0 == strncmp (url,
+                    "/access-api/",
+                    strlen ("/access-api/")))
+  {
+    url += strlen ("/access-api");
+    return handle_bank_access (h,
+                               connection,
+                               url,
+                               method,
+                               upload_data,
+                               upload_data_size,
+                               con_cls);
+  }
   if (0 == strncmp (url,
                     "/anastasis-api/",
                     strlen ("/anastasis-api/")))

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