Fix transmogrifier test.

This commit is contained in:
lain 2018-11-30 17:31:05 +01:00
parent d088ac6286
commit 8f1fffebc6

View File

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