From 6b73affd3c7c02e94fe9088a5b859af6f9afeb00 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Sun, 17 Nov 2019 17:15:02 -0500 Subject: [PATCH] fix unused parameter --- lib/philomena_web/controllers/comment_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/philomena_web/controllers/comment_controller.ex b/lib/philomena_web/controllers/comment_controller.ex index 524d4595..72aea4b8 100644 --- a/lib/philomena_web/controllers/comment_controller.ex +++ b/lib/philomena_web/controllers/comment_controller.ex @@ -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}}]