Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
fix(TransactionList): use default reco ledger as a fallback.
Browse files Browse the repository at this point in the history
Signed-off-by: reslene <reslene@numary.com>
  • Loading branch information
reslene committed Jan 3, 2023
1 parent cf789ec commit 4d8aab8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const normalize = (cursor: Cursor<Transaction>): Cursor<Transaction> =>
...posting,
postingId: index,
...omit(transaction, 'postings'),
ledger: transaction.ledger || RECO_DEFAULT_LEDGER, // Warning, talk about it to backend. Might be dangerous. Temporary fix
}))
)
),
Expand Down

0 comments on commit 4d8aab8

Please sign in to comment.