diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2021-01-23 22:29:00 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2021-01-23 22:29:00 +0300 |
commit | 4ade12bf8279d89b7ed78a4a465ead84c36e39db (patch) | |
tree | e6765a4c9d291c55fb0cf74c5cb2697e298579a1 /lib | |
parent | 093649509e34a16c84cbbdb12bf28b5f079146cb (diff) | |
download | pleroma-refactor/uploads.tar.gz |
[#3259] Media.create_from_object_data/_ fix (`data` handling).refactor/uploads
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/media.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/media.ex b/lib/pleroma/media.ex index 965041809..d24807a9f 100644 --- a/lib/pleroma/media.ex +++ b/lib/pleroma/media.ex @@ -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, |