Skip to content
Snippets Groups Projects
Commit a8701282 authored by lain's avatar lain
Browse files

MastoAPI: fake out 'application' property.

parent 6258c6b6
Branches
No related tags found
No related merge requests found
......@@ -52,7 +52,10 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
media_attachments: attachments,
mentions: mentions,
tags: [], # fix,
application: nil,
application: %{
name: "Web",
website: nil
},
language: nil
}
end
......
......@@ -36,7 +36,10 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
media_attachments: [],
mentions: [],
tags: [],
application: nil,
application: %{
name: "Web",
website: nil
},
language: nil
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment