Commit b6e3f2fc authored by Mikko Ahlroth's avatar Mikko Ahlroth

Remove unneeded variable

parent 675302d0
......@@ -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]),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment