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({
|
||||
guildCount: cachedGuilds + cache.dispatchedGuildIds.size,
|
||||
memberCount,
|
||||
rollCount,
|
||||
rollCount: Number(rollCount),
|
||||
}),
|
||||
{
|
||||
status: STATUS_CODE.OK,
|
||||
statusText: STATUS_TEXT[STATUS_CODE.OK],
|
||||
headers,
|
||||
},
|
||||
}
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue