fix rollcount being a string/bigint in apistats
This commit is contained in:
parent
b9d436ba92
commit
b9c5af6c73
|
@ -33,12 +33,12 @@ export const apiStats = async (): Promise<Response> => {
|
||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
guildCount: cachedGuilds + cache.dispatchedGuildIds.size,
|
guildCount: cachedGuilds + cache.dispatchedGuildIds.size,
|
||||||
memberCount,
|
memberCount,
|
||||||
rollCount,
|
rollCount: Number(rollCount),
|
||||||
}),
|
}),
|
||||||
{
|
{
|
||||||
status: STATUS_CODE.OK,
|
status: STATUS_CODE.OK,
|
||||||
statusText: STATUS_TEXT[STATUS_CODE.OK],
|
statusText: STATUS_TEXT[STATUS_CODE.OK],
|
||||||
headers,
|
headers,
|
||||||
},
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue