await the instance meta

This commit is contained in:
CutestNekoAqua 2023-02-23 16:12:53 +01:00
parent bb27ce997e
commit 726e469e23

View file

@ -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 || "",