diff --git a/src/app-gocardless/banks/ANDELSKASSEN_FALLESKASSEN_FAELDKK1.js b/src/app-gocardless/banks/ANDELSKASSEN_FALLESKASSEN_FAELDKK1.js index b921663cd..f10210ffb 100644 --- a/src/app-gocardless/banks/ANDELSKASSEN_FALLESKASSEN_FAELDKK1.js +++ b/src/app-gocardless/banks/ANDELSKASSEN_FALLESKASSEN_FAELDKK1.js @@ -50,11 +50,11 @@ export default { */ calculateStartingBalance(sortedTransactions = [], balances = []) { const currentBalance = balances.find( - balance => 'closingBooked' === balance.balanceType - ) + balance => 'closingBooked' === balance.balanceType, + ); return sortedTransactions.reduce((total, trans) => { - return total - amountToInteger(trans.transactionAmount.amount) - }, amountToInteger(currentBalance.balanceAmount.amount)) - } -} + return total - amountToInteger(trans.transactionAmount.amount); + }, amountToInteger(currentBalance.balanceAmount.amount)); + }, +};