1
1
mirror of https://github.com/Burn-E99/TheArtificer.git synced 2026-06-04 00:53:50 -04:00

fix rollcount being a string/bigint in apistats

This commit is contained in:
Ean Milligan
2025-08-04 13:37:13 -04:00
parent b9d436ba92
commit b9c5af6c73

View File

@@ -33,12 +33,12 @@ export const apiStats = async (): Promise<Response> => {
JSON.stringify({
guildCount: cachedGuilds + cache.dispatchedGuildIds.size,
memberCount,
rollCount,
rollCount: Number(rollCount),
}),
{
status: STATUS_CODE.OK,
statusText: STATUS_TEXT[STATUS_CODE.OK],
headers,
},
}
);
};