From b9c5af6c73c486334d97270ab439c0158d6fd1fd Mon Sep 17 00:00:00 2001 From: Ean Milligan Date: Mon, 4 Aug 2025 13:37:13 -0400 Subject: [PATCH] fix rollcount being a string/bigint in apistats --- src/endpoints/gets/apiStats.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/endpoints/gets/apiStats.ts b/src/endpoints/gets/apiStats.ts index 1be8dbc..cc61f0c 100644 --- a/src/endpoints/gets/apiStats.ts +++ b/src/endpoints/gets/apiStats.ts @@ -33,12 +33,12 @@ export const apiStats = async (): Promise => { JSON.stringify({ guildCount: cachedGuilds + cache.dispatchedGuildIds.size, memberCount, - rollCount, + rollCount: Number(rollCount), }), { status: STATUS_CODE.OK, statusText: STATUS_TEXT[STATUS_CODE.OK], headers, - }, + } ); };