From be81684eb82d48561493e0e38a0bb863c785449e Mon Sep 17 00:00:00 2001 From: DirgoSalga Date: Sun, 15 Sep 2024 21:43:46 +0200 Subject: [PATCH] FIx linting errors (second try) and fix error in the release notes --- src/app-gocardless/banks/spk_worms_alzey_ried_malade51wor.js | 4 +--- upcoming-release-notes/454.md | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/app-gocardless/banks/spk_worms_alzey_ried_malade51wor.js b/src/app-gocardless/banks/spk_worms_alzey_ried_malade51wor.js index b7ce02e28..f29858158 100644 --- a/src/app-gocardless/banks/spk_worms_alzey_ried_malade51wor.js +++ b/src/app-gocardless/banks/spk_worms_alzey_ried_malade51wor.js @@ -24,8 +24,7 @@ export default { }, normalizeTransaction(transaction, _booked) { - const date = - transaction.bookingDate || + const date = transaction.bookingDate || transaction.valueDate; if (!date) { return null; @@ -53,7 +52,6 @@ export default { }; }, - calculateStartingBalance(sortedTransactions = [], balances = []) { const currentBalance = balances.find( (balance) => 'interimAvailable' === balance.balanceType, diff --git a/upcoming-release-notes/454.md b/upcoming-release-notes/454.md index d7148b62a..9075a1e13 100644 --- a/upcoming-release-notes/454.md +++ b/upcoming-release-notes/454.md @@ -1,6 +1,6 @@ --- category: Enhancements -authors: DirgoSalga +authors: [DirgoSalga] --- Add integration of Rheinhessen Sparkasse (SPK_WORMS_ALZEY_RIED_MALADE51WOR) to the GoCardless app \ No newline at end of file