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)",
urls: response.urls,
stats: {
user_count: totalUsers,
status_count: totalStatuses,
user_count: (await totalUsers),
status_count: (await totalStatuses),
domain_count: response.stats.domain_count
},
thumbnail: response.thumbnail || "",