UtilController: Fix statusnet config api compatibility.
This commit is contained in:
parent
af854f7e01
commit
08f458e6df
|
@ -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")
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue