mirror of
https://github.com/we-promise/sure.git
synced 2026-04-20 04:24:06 +00:00
fix: Fix Enable Banking sync date determination
This commit is contained in:
@@ -241,7 +241,7 @@ class EnableBankingItem::Importer
|
||||
if enable_banking_item.last_synced_at
|
||||
enable_banking_item.last_synced_at.to_date - 7.days
|
||||
else
|
||||
user_start_date || 90.days.ago.to_date
|
||||
30.days.ago.to_date
|
||||
end
|
||||
else
|
||||
# Initial sync: use user's configured date or default to 3 months
|
||||
|
||||
Reference in New Issue
Block a user