Skip to content
Snippets Groups Projects
Unverified Commit 0e61bfc4 authored by Matiss Janis Aboltins's avatar Matiss Janis Aboltins Committed by GitHub
Browse files

:bug: (nordigen) fallback to bookingDate if valueDate is not set (#743)

Fallback to `bookingDate` if `valueDate` is empty.

Fix for:
https://github.com/actualbudget/actual/issues/724#issuecomment-1464914546
parent 25d49dc4
No related branches found
No related tags found
No related merge requests found
......@@ -298,7 +298,7 @@ async function normalizeNordigenTransactions(transactions, acctId) {
let normalized = [];
for (let trans of transactions) {
if (!trans.date) {
trans.date = trans.valueDate;
trans.date = trans.valueDate || trans.bookingDate;
}
if (!trans.amount) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment