mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-23 15:05:45 +00:00
UtilController: Fix statusnet config api compatibility.
This commit is contained in:
parent
af854f7e01
commit
08f458e6df
|
@ -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