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

This commit is contained in:
Ivan Tashkinov 2021-01-23 22:29:00 +03:00
parent 093649509e
commit 4ade12bf82

View File

@ -34,7 +34,7 @@ defmodule Pleroma.Media do
%Media{}
|> changeset(%{
href: url["href"],
type: url["type"],
type: data["type"],
media_type: url["mediaType"],
name: data["name"],
blurhash: nil,