Attachments: Have the mediaType on the root, too.
This commit is contained in:
parent
814c3e5171
commit
cc0d462e91
2 changed files with 24 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ defmodule Pleroma.Upload do
|
|||
{:ok,
|
||||
%{
|
||||
"type" => opts.activity_type,
|
||||
"mediaType" => upload.content_type,
|
||||
"url" => [
|
||||
%{
|
||||
"type" => "Link",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue