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:
marcin mikołajczak 2024-09-10 13:05:49 +02:00
parent 509d5ef74a
commit 91f0861449

View file

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