mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 20:15:22 +02:00
Only run Plaid syncs via webhook after initial sync
This commit is contained in:
parent
908b3e2489
commit
9e6e4b1ce6
5 changed files with 14 additions and 33 deletions
|
@ -74,11 +74,6 @@ class Family < ApplicationRecord
|
|||
account.sync_later(start_date: start_date, parent_sync: sync)
|
||||
end
|
||||
|
||||
Rails.logger.info("Syncing plaid items for family #{id}")
|
||||
plaid_items.each do |plaid_item|
|
||||
plaid_item.sync_later(start_date: start_date, parent_sync: sync)
|
||||
end
|
||||
|
||||
Rails.logger.info("Applying rules for family #{id}")
|
||||
rules.each do |rule|
|
||||
rule.apply_later
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue