Attachments: Have the mediaType on the root, too.

This commit is contained in:
lain 2020-05-21 15:08:56 +02:00
commit cc0d462e91
2 changed files with 24 additions and 0 deletions

View file

@ -67,6 +67,7 @@ defmodule Pleroma.Upload do
{:ok,
%{
"type" => opts.activity_type,
"mediaType" => upload.content_type,
"url" => [
%{
"type" => "Link",