This commit is contained in:
Liam 2024-04-28 21:04:28 -04:00
parent c1fcfe1f6c
commit e69f1bf3fa
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ defmodule PhilomenaWeb.Admin.Batch.TagController do
end end
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", body: "Batch tagged '#{data.tag_list}' on #{data.image_count} images",
subject_path: ~p"/profiles/#{conn.assigns.current_user}" subject_path: ~p"/profiles/#{conn.assigns.current_user}"

View file

@ -31,7 +31,7 @@ defmodule PhilomenaWeb.Image.TamperController do
|> redirect(to: ~p"/images/#{conn.assigns.image}") |> redirect(to: ~p"/images/#{conn.assigns.image}")
end end
defp log_details(_conn, _action, data) do defp log_details(conn, _action, data) do
image = data.image image = data.image
vote_type = vote_type =