Skip to content

Commit

Permalink
yes, i'm not a big fan of this api_versions thing, how did you know?
Browse files Browse the repository at this point in the history
Signed-off-by: marcin mikołajczak <[email protected]>
  • Loading branch information
mkljczk committed Sep 10, 2024
1 parent 509d5ef commit 91f0861
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/pleroma/web/mastodon_api/views/instance_view.ex
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView 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)
})
Expand Down

0 comments on commit 91f0861

Please sign in to comment.