Merge branch 'instance-v2' into 'develop'
Show instance language in /api/v2/instance See merge request soapbox-pub/rebased!260
This commit is contained in:
commit
c54e542f83
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ def render("show2.json", _) do
|
|||
URI.merge(Pleroma.Web.Endpoint.url(), Keyword.get(instance, :instance_thumbnail))
|
||||
|> to_string
|
||||
},
|
||||
languages: ["en"],
|
||||
languages: Keyword.get(instance, :languages, ["en"]),
|
||||
configuration: configuration2(),
|
||||
registrations: %{
|
||||
enabled: Keyword.get(instance, :registrations_open),
|
||||
|
|
Loading…
Reference in a new issue