Cleanup some dead code

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-11-16 15:48:44 +01:00
parent 702c7fa6d4
commit d1f0a9224a
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -261,11 +261,6 @@ defmodule Mobilizon.Actors do
data, data,
preload \\ false preload \\ false
) do ) do
# data =
# data
# |> Map.put(:avatar, transform_media_file(data.avatar))
# |> Map.put(:banner, transform_media_file(data.banner))
insert = insert =
data data
|> Actor.remote_actor_creation_changeset() |> Actor.remote_actor_creation_changeset()