diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-09-05 16:10:53 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-09-05 16:10:53 +0200 |
commit | 8144b0f5535c3d00c1e508cddce3cd88a153a581 (patch) | |
tree | fadefd8febe8574a7e46bf6ffd2b1b89b3a58b55 /src/webex/wxApi.ts | |
parent | fab4e338968b619710e1652f78534a98de2d68d3 (diff) | |
download | wallet-core-8144b0f5535c3d00c1e508cddce3cd88a153a581.tar.xz |
welcome page with error diagnostics / react refactoring
Diffstat (limited to 'src/webex/wxApi.ts')
-rw-r--r-- | src/webex/wxApi.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/webex/wxApi.ts b/src/webex/wxApi.ts index 7e4d17e37..61dc2ca69 100644 --- a/src/webex/wxApi.ts +++ b/src/webex/wxApi.ts @@ -42,6 +42,7 @@ import { TipStatus, WalletBalance, PurchaseDetails, + WalletDiagnostics, } from "../walletTypes"; import { @@ -396,3 +397,10 @@ export function preparePay(talerPayUri: string) { export function acceptWithdrawal(talerWithdrawUri: string, selectedExchange: string) { return callBackend("accept-withdrawal", { talerWithdrawUri, selectedExchange }); } + +/** + * Get diagnostics information + */ +export function getDiagnostics(): Promise<WalletDiagnostics> { + return callBackend("get-diagnostics", {}); +} |