mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-03 04:25:21 +02:00
Remove missing prices issue (#1390)
This commit is contained in:
parent
7d8028b505
commit
bf695972e4
8 changed files with 11 additions and 114 deletions
|
@ -33,12 +33,6 @@ module Issuable
|
|||
)
|
||||
end
|
||||
|
||||
def observe_missing_price(ticker:, date:)
|
||||
issue = issues.find_or_create_by(type: Issue::PricesMissing.name, resolved_at: nil)
|
||||
issue.append_missing_price(ticker, date)
|
||||
issue.save!
|
||||
end
|
||||
|
||||
def highest_priority_issue
|
||||
issues.active.ordered.first
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue