1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Support max_toot_chars

See this commit of how to supply this value in API response. `instance_serializer.rb`

2bf275ba3b
This commit is contained in:
Zhiyuan Zheng
2021-02-05 13:45:02 +01:00
parent 29f2bf7457
commit 700b9ad433
6 changed files with 46 additions and 15 deletions

View File

@ -149,7 +149,7 @@ const ComponentInstance: React.FC<Props> = ({
<InstanceAuth
key={Math.random()}
instanceDomain={instanceDomain}
instanceUri={instanceQuery.data.uri}
instance={instanceQuery.data}
appData={{
clientId: appsQuery.data.client_id,
clientSecret: appsQuery.data.client_secret