diff --git a/lib/philomena_web/controllers/admin/batch/tag_controller.ex b/lib/philomena_web/controllers/admin/batch/tag_controller.ex index 512a0972..59371b6a 100644 --- a/lib/philomena_web/controllers/admin/batch/tag_controller.ex +++ b/lib/philomena_web/controllers/admin/batch/tag_controller.ex @@ -68,7 +68,7 @@ defmodule PhilomenaWeb.Admin.Batch.TagController do end end - defp log_details(_conn, _action, data) do + defp log_details(conn, _action, data) do %{ body: "Batch tagged '#{data.tag_list}' on #{data.image_count} images", subject_path: ~p"/profiles/#{conn.assigns.current_user}" diff --git a/lib/philomena_web/controllers/image/tamper_controller.ex b/lib/philomena_web/controllers/image/tamper_controller.ex index 482bb14a..4ce1ac3c 100644 --- a/lib/philomena_web/controllers/image/tamper_controller.ex +++ b/lib/philomena_web/controllers/image/tamper_controller.ex @@ -31,7 +31,7 @@ defmodule PhilomenaWeb.Image.TamperController do |> redirect(to: ~p"/images/#{conn.assigns.image}") end - defp log_details(_conn, _action, data) do + defp log_details(conn, _action, data) do image = data.image vote_type =