mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-19 11:45:01 +00:00
UtilController: Fix statusnet config api compatibility.
This commit is contained in:
parent
af854f7e01
commit
08f458e6df
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do
|
|||
site: %{
|
||||
name: Keyword.get(@instance, :name),
|
||||
server: Web.base_url,
|
||||
textlimit: Keyword.get(@instance, :limit),
|
||||
textlimit: to_string(Keyword.get(@instance, :limit)),
|
||||
closed: if(Keyword.get(@instance, :registrations_open), do: "0", else: "1")
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue