diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-07-28 23:17:12 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-07-28 23:17:12 +0530 |
commit | 732e764b376dff6b0262b869b29dbdee0c455a0e (patch) | |
tree | d1bcb7ed2257941251aec03346de321ec895deb4 /src/webex/wxApi.ts | |
parent | 43655adff0f8f1db082e1f0c18f1271a29ab8905 (diff) | |
download | wallet-core-732e764b376dff6b0262b869b29dbdee0c455a0e.tar.xz |
new balances API, remove defunct 'return funds to own account' implementation
Diffstat (limited to 'src/webex/wxApi.ts')
-rw-r--r-- | src/webex/wxApi.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webex/wxApi.ts b/src/webex/wxApi.ts index 99a581007..4e11463d6 100644 --- a/src/webex/wxApi.ts +++ b/src/webex/wxApi.ts @@ -34,12 +34,12 @@ import { ConfirmPayResult, SenderWireInfos, TipStatus, - WalletBalance, PurchaseDetails, WalletDiagnostics, PreparePayResult, AcceptWithdrawalResponse, ExtendedPermissionsResponse, + BalancesResponse, } from "../types/walletTypes"; /** @@ -185,7 +185,7 @@ export function resetDb(): Promise<void> { /** * Get balances for all currencies/exchanges. */ -export function getBalance(): Promise<WalletBalance> { +export function getBalance(): Promise<BalancesResponse> { return callBackend("balances", {}); } |