UtilController: Fix statusnet config api compatibility.

This commit is contained in:
Roger Braun 2018-02-09 13:43:12 +01:00
parent af854f7e01
commit 08f458e6df
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ def config(conn, _params) 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")
}
})