diff options
Diffstat (limited to 'packages/demobank-ui/src/hooks')
-rw-r--r-- | packages/demobank-ui/src/hooks/access.ts | 4 |
1 files 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", |