updates
This commit is contained in:
parent
074fa790ba
commit
e94c3442f4
8 changed files with 31 additions and 27 deletions
|
|
@ -63,7 +63,8 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIController do
|
|||
info_cng = User.Info.admin_api_update(user.info, info)
|
||||
|
||||
cng =
|
||||
Ecto.Changeset.change(user)
|
||||
user
|
||||
|> Ecto.Changeset.change()
|
||||
|> Ecto.Changeset.put_embed(:info, info_cng)
|
||||
|
||||
{:ok, _user} = User.update_and_set_cache(cng)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue