mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 14:17:59 +01:00
fix unmatches clause
This commit is contained in:
parent
4f561b9c16
commit
0f1b5644c1
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ defmodule PhilomenaWeb.Admin.UserController do
|
|||
{:ok, user} ->
|
||||
conn
|
||||
|> put_flash(:info, "User successfully updated.")
|
||||
|> moderation_log(details: &log_details/3, data: user)
|
||||
|> moderation_log(details: &log_details/3, data: user.user)
|
||||
|> redirect(to: Routes.profile_path(conn, :show, conn.assigns.user))
|
||||
|
||||
{:error, %{user: changeset}} ->
|
||||
|
|
Loading…
Reference in a new issue