1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-05 13:35:21 +02:00

Remove existing data enrichment for clean slate

This commit is contained in:
Zach Gollwitzer 2025-04-01 15:32:31 -04:00
parent 6644afe147
commit 8effdcb2d3
10 changed files with 7 additions and 98 deletions

View file

@ -1,5 +1,5 @@
class Account < ApplicationRecord
include Syncable, Monetizable, Chartable, Enrichable, Linkable, Convertible
include Syncable, Monetizable, Chartable, Linkable, Convertible
validates :name, :balance, :currency, presence: true
@ -78,11 +78,6 @@ class Account < ApplicationRecord
Rails.logger.info("Processing balances (#{linked? ? 'reverse' : 'forward'})")
sync_balances
if enrichable?
Rails.logger.info("Enriching transaction data")
enrich_data
end
end
def post_sync