gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: demobank-ui: fix request URIs


From: gnunet
Subject: [taler-wallet-core] branch master updated: demobank-ui: fix request URIs
Date: Sun, 26 Feb 2023 14:58:00 +0100

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

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 3e8562456 demobank-ui: fix request URIs
3e8562456 is described below

commit 3e8562456d6280184f4faf3c12c03c65f8a0a476
Author: Florian Dold <florian@dold.me>
AuthorDate: Sun Feb 26 14:57:56 2023 +0100

    demobank-ui: fix request URIs
---
 packages/demobank-ui/src/hooks/access.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/demobank-ui/src/hooks/access.ts 
b/packages/demobank-ui/src/hooks/access.ts
index 6046146ba..8282210d4 100644
--- a/packages/demobank-ui/src/hooks/access.ts
+++ b/packages/demobank-ui/src/hooks/access.ts
@@ -60,7 +60,7 @@ export function useAccessAPI(): AccessAPI {
   };
   const abortWithdrawal = async (id: string): Promise<HttpResponseOk<void>> => 
{
     const res = await request<void>(
-      `access-api/accounts/${account}/withdrawals/${id}`,
+      `access-api/accounts/${account}/withdrawals/${id}/abort`,
       {
         method: "POST",
         contentType: "json",
@@ -73,7 +73,7 @@ export function useAccessAPI(): AccessAPI {
     id: string,
   ): Promise<HttpResponseOk<void>> => {
     const res = await request<void>(
-      `access-api/accounts/${account}/withdrawals/${id}`,
+      `access-api/accounts/${account}/withdrawals/${id}/confirm`,
       {
         method: "POST",
         contentType: "json",

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