yes, i'm not a big fan of this api_versions
thing, how did you know?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
509d5ef74a
commit
91f0861449
1 changed files with 5 additions and 0 deletions
|
@ -78,6 +78,11 @@ def render("show2.json", _) do
|
|||
email: Keyword.get(instance, :email),
|
||||
account: contact_account(Keyword.get(instance, :contact_username))
|
||||
},
|
||||
api_versions: %{
|
||||
"mastodon" => 2137,
|
||||
"social.pleroma" => 420,
|
||||
"pl.mkljczk.pl" => 69
|
||||
},
|
||||
# Extra (not present in Mastodon):
|
||||
pleroma: pleroma_configuration2(instance)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue