[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] 01/02: add not documented api
From: |
gnunet |
Subject: |
[taler-wallet-core] 01/02: add not documented api |
Date: |
Thu, 19 Oct 2023 20:11:25 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
commit 9e925a2f56677600973c4659f82776a6a56339bb
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Thu Oct 19 15:09:46 2023 -0300
add not documented api
---
packages/taler-util/src/http-client/bank-core.ts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/packages/taler-util/src/http-client/bank-core.ts
b/packages/taler-util/src/http-client/bank-core.ts
index 593daa2c3..033b78f67 100644
--- a/packages/taler-util/src/http-client/bank-core.ts
+++ b/packages/taler-util/src/http-client/bank-core.ts
@@ -514,6 +514,8 @@ export class TalerCoreBankHttpClient {
});
switch (resp.status) {
case HttpStatusCode.Ok: return opSuccess(resp, codecForCashouts())
+ // FIXME: not in docs (maybe for admin and bank)
+ case HttpStatusCode.NotFound: return opFixedSuccess({ cashouts: [] });
case HttpStatusCode.NoContent: return opFixedSuccess({ cashouts: [] });
default: return opUnknownFailure(resp, await resp.text())
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.