Expose the post formats in /api/v1/instance
This commit is contained in:
parent
64b4de4af1
commit
20a496d2cb
3 changed files with 4 additions and 1 deletions
|
|
@ -41,7 +41,8 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do
|
|||
account_activation_required: Keyword.get(instance, :account_activation_required),
|
||||
features: features(),
|
||||
federation: federation(),
|
||||
fields_limits: fields_limits()
|
||||
fields_limits: fields_limits(),
|
||||
post_formats: Config.get([:instance, :allowed_post_formats])
|
||||
},
|
||||
vapid_public_key: Keyword.get(Pleroma.Web.Push.vapid_config(), :public_key)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue