InstanceView: Add show.json render test

This commit is contained in:
Phantasm 2026-06-24 00:28:44 +02:00
commit c290f022de
No known key found for this signature in database
GPG key ID: 2669E588BCC634C8
2 changed files with 196 additions and 0 deletions

View file

@ -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)