mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 05:09:38 +02:00
parent
c9c5eb315a
commit
37aab45c19
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class Provider::Synth
|
|||
{
|
||||
date: price.dig("date"),
|
||||
price: price.dig("close")&.to_f || price.dig("open")&.to_f,
|
||||
currency: price.dig("currency") || "USD"
|
||||
currency: body.dig("currency") || "USD"
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue