1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 07:39:39 +02:00

Fix for certain securities returning incorrect prices
Some checks are pending
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions

This commit is contained in:
Josh Pigford 2024-11-07 11:52:16 -06:00
parent 154a1a971b
commit 31d9d926f7
4 changed files with 8 additions and 8 deletions

View file

@ -2,7 +2,7 @@ class Security::SynthComboboxOption
include ActiveModel::Model
include Providable
attr_accessor :symbol, :name, :logo_url, :exchange_acronym, :exchange_mic
attr_accessor :symbol, :name, :logo_url, :exchange_acronym, :exchange_mic, :exchange_country_code
class << self
def find_in_synth(query)
@ -18,7 +18,7 @@ class Security::SynthComboboxOption
end
def id
"#{symbol}|#{exchange_mic}" # submitted by combobox as value
"#{symbol}|#{exchange_mic}|#{exchange_acronym}|#{exchange_country_code}" # submitted by combobox as value
end
def to_combobox_display