Skip to content

Commit a1b8bd1

Browse files
committed
fix: simplify reconciliation notes formatting in transaction import
1 parent c0ccda1 commit a1b8bd1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/importer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export async function scrapeAndImportTransactions({companyId, bank}: ScrapeTrans
149149
amount: actual.utils.amountToInteger(balanceDiff),
150150
payee: null, // IMPORTANT: never pass undefined to updateTransaction schema
151151
imported_payee: 'Reconciliation',
152-
notes: `Reconciliation (${targetKey}) from ${currentBalance.toLocaleString()} to ${scraperBalance.toLocaleString()}`,
152+
notes: `Reconciliation from ${currentBalance.toLocaleString()} to ${scraperBalance.toLocaleString()}`,
153153
imported_id: reconciliationImportedId, // NEW every run
154154
});
155155

0 commit comments

Comments
 (0)