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} ->
{name, Map.put(service, :icon, icon_for_service(name))}
end)
|> Enum.into(%{}, &{&1[:name], &1})
|> Enum.into(%{})
state = %{state | services: services}
{:noreply, state}
end