diff --git a/lib/reception/routes/page_view.ex b/lib/reception/routes/page_view.ex index a197ea7..21fac89 100644 --- a/lib/reception/routes/page_view.ex +++ b/lib/reception/routes/page_view.ex @@ -172,7 +172,7 @@ defmodule Tilastokeskus.Reception.Routes.PageView do end defp get_geoip(addr) do - %{city: city, country: country} = res = Geolix.lookup(addr, as: :raw) + %{city: city, country: country} = Geolix.lookup(addr, as: :raw) { get_in(city, [:city, :names, :en]),