The personal finance app for everyone
Ensure holdings are normalized to account currency
Zach Gollwitzer86bf47a32ead
diff --git a/app/models/account/holding/portfolio_cache.rb b/app/models/account/holding/portfolio_cache.rbindex 6a839382..bb6035cf 100644--- a/app/models/account/holding/portfolio_cache.rb+++ b/app/models/account/holding/portfolio_cache.rb@@ -37,7 +37,7 @@ class Account::Holding::PortfolioCachesecurity_id: security_id,date: price.date,price: converted_amount,- currency: price.currency+ currency: account.currency)end