MastoAPI: Add max_toot_chars.
This commit is contained in:
parent
6900851581
commit
cf0bbf320d
@ -106,7 +106,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
|
|||||||
user_count: 1,
|
user_count: 1,
|
||||||
status_count: 2,
|
status_count: 2,
|
||||||
domain_count: 3
|
domain_count: 3
|
||||||
}
|
},
|
||||||
|
max_toot_chars: Keyword.get(@instance, :limit)
|
||||||
}
|
}
|
||||||
|
|
||||||
json(conn, response)
|
json(conn, response)
|
||||||
|
Loading…
Reference in New Issue
Block a user