mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 05:25:24 +02:00
Add context to plaid sync errors
This commit is contained in:
parent
d73e7eacce
commit
9ec94cd1fa
3 changed files with 21 additions and 4 deletions
|
@ -28,9 +28,13 @@ class Family < ApplicationRecord
|
|||
account.sync_data(start_date: start_date)
|
||||
end
|
||||
|
||||
plaid_data = []
|
||||
|
||||
plaid_items.each do |plaid_item|
|
||||
plaid_item.sync_data(start_date: start_date)
|
||||
plaid_data << plaid_item.sync_data(start_date: start_date)
|
||||
end
|
||||
|
||||
plaid_data
|
||||
end
|
||||
|
||||
def post_sync
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue