diff --git a/lib/freedive/api/service/server.ex b/lib/freedive/api/service/server.ex index ecc6666..de60995 100644 --- a/lib/freedive/api/service/server.ex +++ b/lib/freedive/api/service/server.ex @@ -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