summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authortanhengyeow <E0032242@u.nus.edu>2020-07-10 15:28:11 +0800
committertanhengyeow <E0032242@u.nus.edu>2020-07-10 15:28:11 +0800
commit4f20dcf89c11d7484923064d8faa75173a6b7ad2 (patch)
tree965f550ed163834823cd0e1fe2c74289c547e09a /frontend
parentef5d48ffdacb9145aca9521bda46956a09624769 (diff)
downloadlibeufin-4f20dcf89c11d7484923064d8faa75173a6b7ad2.tar.gz
libeufin-4f20dcf89c11d7484923064d8faa75173a6b7ad2.tar.bz2
libeufin-4f20dcf89c11d7484923064d8faa75173a6b7ad2.zip
Update response object based on updated API
Diffstat (limited to 'frontend')
-rw-r--r--frontend/src/components/bank-accounts/Index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/bank-accounts/Index.tsx b/frontend/src/components/bank-accounts/Index.tsx
index e529bae5..198da810 100644
--- a/frontend/src/components/bank-accounts/Index.tsx
+++ b/frontend/src/components/bank-accounts/Index.tsx
@@ -29,7 +29,7 @@ const BankAccounts = () => {
throw 'Cannot retrieve bank connections';
})
.then((response) => {
- setConnectionsList(response);
+ setConnectionsList(response.bankConnections);
})
.catch((err) => {
showError(err);