Skip to content

Commit

Permalink
Fixing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
laercios committed Jan 13, 2021
1 parent 4682da0 commit 1e16ff5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ defmodule HealthBoardWeb.DashboardLive.SectionData.SarsPandemicCharts do
Enum.each(section.cards, &CardData.request_to_fetch(pid, &1, data))
end

IO.inspect(Map.keys(data))

nil
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ defmodule HealthBoardWeb.DashboardLive.SectionData.SarsPandemicCitiesRankings do
alias HealthBoardWeb.DashboardLive.{CardData, DataManager}

@changes_keys [:index, :cities_incidence, :cities_deaths, :cities_hospitalizations, :year_cities_population]
@data_keys [:date, :cities_incidence, :cities_deaths, :cities_hospitalizations, :year_cities_population, :last_record_date]
@data_keys [
:date,
:cities_incidence,
:cities_deaths,
:cities_hospitalizations,
:year_cities_population,
:last_record_date
]

@spec fetch(pid, map, map) :: nil
def fetch(pid, section, %{changed_filters: changes} = data) do
Expand Down

0 comments on commit 1e16ff5

Please sign in to comment.