fix(discord-gateway): change statsCache from const to let for reassignment in initStickerCache

This commit is contained in:
MythEclipse
2026-06-02 22:20:26 +07:00
parent 3b86bf4920
commit c80a344391
@@ -7,7 +7,6 @@ const TTL_MS = 7 * 24 * 60 * 60 * 1000; // 7 days
const MAX_SIZE_BYTES = 100 * 1024 * 1024; // 100MB hardcoded
let ready = false;
// eslint-disable-next-line prefer-const -- reassigned in initStickerCache
let statsCache = { entryCount: 0, totalSizeBytes: 0 };
export interface StickerCacheEntry {