From 7e47ff6601684b6a3e95bad731fbaed505676d0c Mon Sep 17 00:00:00 2001 From: circle3451 <93911635+circle3451@users.noreply.github.com> Date: Tue, 23 Jan 2024 22:18:05 +0100 Subject: [PATCH] more lint again --- .../banks/ANDELSKASSEN_FALLESKASSEN_FAELDKK1.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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)); + }, +};