Fix transmogrifier test.

This commit is contained in:
lain 2018-11-30 17:31:05 +01:00
parent d088ac6286
commit 8f1fffebc6
1 changed files with 1 additions and 1 deletions

View File

@ -447,7 +447,7 @@ def handle_incoming(
update_data = update_data =
new_user_data new_user_data
|> Map.take([:name, :bio, :avatar]) |> Map.take([:name, :bio, :avatar])
|> Map.put(:info, Map.merge(actor.info, %{"banner" => banner, "locked" => locked})) |> Map.put(:info, %{"banner" => banner, "locked" => locked})
actor actor
|> User.upgrade_changeset(update_data) |> User.upgrade_changeset(update_data)