summaryrefslogtreecommitdiff
path: root/src/operations/history.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-05-12 14:08:58 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-05-12 14:09:10 +0530
commit6206b418ff88a238762a18e7b6eeaceafc5de294 (patch)
treec4d947770ccf50e362abf083953f55140046fc2a /src/operations/history.ts
parent857a2b9dcaf64d4298027644f8e6716fa22db941 (diff)
downloadwallet-core-6206b418ff88a238762a18e7b6eeaceafc5de294.tar.gz
wallet-core-6206b418ff88a238762a18e7b6eeaceafc5de294.tar.bz2
wallet-core-6206b418ff88a238762a18e7b6eeaceafc5de294.zip
new transactions API: withdrawal
Diffstat (limited to 'src/operations/history.ts')
-rw-r--r--src/operations/history.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/operations/history.ts b/src/operations/history.ts
index 1271c56ef..4e43596f0 100644
--- a/src/operations/history.ts
+++ b/src/operations/history.ts
@@ -375,10 +375,10 @@ export async function getHistory(
return;
}
let reserveCreationDetail: ReserveCreationDetail;
- if (reserve.bankWithdrawStatusUrl) {
+ if (reserve.bankInfo) {
reserveCreationDetail = {
type: ReserveType.TalerBankWithdraw,
- bankUrl: reserve.bankWithdrawStatusUrl,
+ bankUrl: reserve.bankInfo.statusUrl,
};
} else {
reserveCreationDetail = {