await the instance meta

This commit is contained in:
CutestNekoAqua 2023-02-23 16:12:53 +01:00
parent 83cc0c9828
commit b1d785b486

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