mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 05:09:38 +02:00
Fix current market price error for securities
This commit is contained in:
parent
fcf14f5f27
commit
64a43d40d1
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ module Security::Provided
|
||||||
|
|
||||||
price = response.data
|
price = response.data
|
||||||
Security::Price.find_or_create_by!(
|
Security::Price.find_or_create_by!(
|
||||||
security_id: price.security.id,
|
security_id: self.id,
|
||||||
date: price.date,
|
date: price.date,
|
||||||
price: price.price,
|
price: price.price,
|
||||||
currency: price.currency
|
currency: price.currency
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue