From 2b1a364ba145b59680aa429529eca9d290947548 Mon Sep 17 00:00:00 2001 From: Joel Jeremy Marquez Date: Fri, 17 Nov 2023 08:25:00 -0800 Subject: [PATCH] Fix lint error --- packages/loot-core/src/server/accounts/ofx2json.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/loot-core/src/server/accounts/ofx2json.ts b/packages/loot-core/src/server/accounts/ofx2json.ts index 8f1224be775..4b6d435c6c8 100644 --- a/packages/loot-core/src/server/accounts/ofx2json.ts +++ b/packages/loot-core/src/server/accounts/ofx2json.ts @@ -77,7 +77,7 @@ function getInvStmtTrn(ofx) { const msg = ofx?.['INVSTMTMSGSRSV1']; const stmtTrnRs = getAsArray(msg?.['INVSTMTTRNRS']); const result = stmtTrnRs.flatMap(s => { - const stmtRs = s?.['INVSTMTRS'] + const stmtRs = s?.['INVSTMTRS']; const tranList = stmtRs?.['INVTRANLIST']; const stmtTrn = tranList?.['INVBANKTRAN']?.flatMap(t => t?.['STMTTRN']); return getAsArray(stmtTrn);