1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 05:09:38 +02:00

fix(models): use self.id (#2410)
Some checks failed
Publish Docker image / ci (push) Has been cancelled
Publish Docker image / Build docker image (push) Has been cancelled

This commit is contained in:
Kenrick Tandrian 2025-06-24 22:15:28 +07:00 committed by GitHub
parent c0617f74cd
commit cea49d5038
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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