From e180aa82480039dcd6cf1b6fd64c710745ea1e8d Mon Sep 17 00:00:00 2001 From: Harshad Sharma Date: Thu, 16 May 2024 23:05:14 +0530 Subject: [PATCH] Fix handle_continue --- lib/freedive/api/service/server.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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