fix unused parameter

This commit is contained in:
byte[] 2019-11-17 17:15:02 -05:00
parent 5982fe4774
commit 6b73affd3c

View file

@ -64,7 +64,7 @@ defmodule PhilomenaWeb.CommentController do
[]
end
end
defp parse_image_id(_params), do: []
defp parse_image_id(_conn, _params), do: []
defp parse_body(%{"body" => body}) when body not in [nil, ""],
do: [%{match: %{body: body}}]