forked from AkkomaGang/akkoma
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 @@ def config(conn, _params) do
|
||||||
site: %{
|
site: %{
|
||||||
name: Keyword.get(@instance, :name),
|
name: Keyword.get(@instance, :name),
|
||||||
server: Web.base_url,
|
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")
|
closed: if(Keyword.get(@instance, :registrations_open), do: "0", else: "1")
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue