Commit 4ade12bf authored by Ivan Tashkinov's avatar Ivan Tashkinov

[#3259] Media.create_from_object_data/_ fix (`data` handling).

parent 09364950
Pipeline #34364 failed with stages
in 8 minutes and 56 seconds
......@@ -34,7 +34,7 @@ def create_from_object_data(%{"url" => [url]} = data, %{actor: actor} = opts) do
%Media{}
|> changeset(%{
href: url["href"],
type: url["type"],
type: data["type"],
media_type: url["mediaType"],
name: data["name"],
blurhash: nil,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment