commit 4f20dcf89c11d7484923064d8faa75173a6b7ad2 parent ef5d48ffdacb9145aca9521bda46956a09624769 Author: tanhengyeow <E0032242@u.nus.edu> Date: Fri, 10 Jul 2020 15:28:11 +0800 Update response object based on updated API Diffstat:
| M | frontend/src/components/bank-accounts/Index.tsx | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);