mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
await the instance meta
This commit is contained in:
parent
83cc0c9828
commit
b1d785b486
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue