InstanceView: Add show.json render test
This commit is contained in:
parent
e45dad2104
commit
c290f022de
2 changed files with 196 additions and 0 deletions
|
|
@ -17,6 +17,8 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do
|
|||
reject: "suspend"
|
||||
}
|
||||
|
||||
def mastodon_api_level, do: @mastodon_api_level
|
||||
|
||||
def render("show.json", _) do
|
||||
instance = Config.get(:instance)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue