Fix handle_continue

This commit is contained in:
Harshad Sharma 2024-05-16 23:05:14 +05:30
parent b522b3381f
commit e180aa8248

View file

@ -29,7 +29,7 @@ defmodule Freedive.Api.Service do
|> Enum.map(fn {name, service} -> |> Enum.map(fn {name, service} ->
{name, Map.put(service, :icon, icon_for_service(name))} {name, Map.put(service, :icon, icon_for_service(name))}
end) end)
|> Enum.into(%{}, &{&1[:name], &1}) |> Enum.into(%{})
state = %{state | services: services} state = %{state | services: services}
{:noreply, state} {:noreply, state}
end end