await the instance meta
This commit is contained in:
parent
bb27ce997e
commit
726e469e23
|
@ -17,8 +17,8 @@ export async function getInstance(response: Entity.Instance) {
|
||||||
version: "3.0.0 compatible (Calckey)",
|
version: "3.0.0 compatible (Calckey)",
|
||||||
urls: response.urls,
|
urls: response.urls,
|
||||||
stats: {
|
stats: {
|
||||||
user_count: totalUsers,
|
user_count: (await totalUsers),
|
||||||
status_count: totalStatuses,
|
status_count: (await totalStatuses),
|
||||||
domain_count: response.stats.domain_count
|
domain_count: response.stats.domain_count
|
||||||
},
|
},
|
||||||
thumbnail: response.thumbnail || "",
|
thumbnail: response.thumbnail || "",
|
||||||
|
|
Loading…
Reference in New Issue