Browse Source

chore: mix format

master
Inhji Y. 10 months ago
parent
commit
9092f36411
  1. 2
      apps/bookmarks/mix.exs
  2. 2
      apps/http/lib/weather.ex
  3. 1
      apps/tomie_web/lib/tomie_web/views/job_view.ex

2
apps/bookmarks/mix.exs

@ -33,7 +33,7 @@ defmodule Bookmarks.MixProject do
{:mock, "~> 0.3.0", only: :test},
{:db, in_umbrella: true},
{:tags, in_umbrella: true},
{:http, in_umbrella: true},
{:http, in_umbrella: true}
]
end
end

2
apps/http/lib/weather.ex

@ -48,4 +48,4 @@ defmodule Http.Weather do
|> Map.put(:date, date)
|> Map.put(:pretty, List.first(day.weather))
end
end
end

1
apps/tomie_web/lib/tomie_web/views/job_view.ex

@ -6,6 +6,7 @@ defmodule TomieWeb.JobView do
def job_duration(%{state: "discarded"} = _job), do: "Discarded"
def job_duration(%{state: "available"} = _job), do: "Available"
def job_duration(%{state: "retryable"} = _job), do: "Retryable"
def job_duration(%{scheduled_at: scheduled_at, completed_at: completed_at} = job) do
IO.inspect(job)

Loading…
Cancel
Save