diff --git a/lib/forecastr/renderer/png.ex b/lib/forecastr/renderer/png.ex index 6e3787f..772e5d5 100644 --- a/lib/forecastr/renderer/png.ex +++ b/lib/forecastr/renderer/png.ex @@ -9,7 +9,7 @@ defmodule Forecastr.Renderer.PNG do |> render_png(city_name) end - def render(map = %{"city" => %{"name" => city_name}}) do + def render(%{"city" => %{"name" => city_name}}) do "#{city_name}.png" end