The personal finance app for everyone (by everyone)
Ruby
Update `PlaidAccount::Processor` to use resolved security from response
Josh Waldrep96022cbe9a76
diff --git a/app/models/plaid_account/processor.rb b/app/models/plaid_account/processor.rbindex e282d5e9d0..3dc09c710e 100644--- a/app/models/plaid_account/processor.rb+++ b/app/models/plaid_account/processor.rb@@ -121,7 +121,8 @@ class PlaidAccount::Processor# Transform to common formatcurrent_holdings = raw_holdings.map do |h|- security = security_resolver.resolve(h["security_id"])+ response = security_resolver.resolve(plaid_security_id: h["security_id"])+ security = response.security{"symbol" => security&.ticker,"description" => security&.name,