From d98ce9406ec3baff52d0360e6db1992b1e85e4cf Mon Sep 17 00:00:00 2001 From: MythEclipse Date: Tue, 2 Jun 2026 22:15:01 +0700 Subject: [PATCH] =?UTF-8?q?No=20staged=20or=20unstaged=20changes=20?= =?UTF-8?q?=E2=80=94=20the=20working=20directory=20is=20clean.=20There's?= =?UTF-8?q?=20nothing=20to=20commit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../discord-gateway/src/modules/ai-moderation/stickerCache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/discord-gateway/src/modules/ai-moderation/stickerCache.ts b/services/discord-gateway/src/modules/ai-moderation/stickerCache.ts index bfcb2ae..43d12ff 100644 --- a/services/discord-gateway/src/modules/ai-moderation/stickerCache.ts +++ b/services/discord-gateway/src/modules/ai-moderation/stickerCache.ts @@ -76,7 +76,7 @@ export async function getStickerFromCache( const key = sanitizeKey(stickerName); try { const row = await executeGet( - "SELECT base64, mime_type, size, fetched_at FROM sticker_cache WHERE name = $1 AND fetched_at > $2", + "SELECT base64, mime_type, size, fetched_at FROM sticker_cache WHERE name = ? AND fetched_at > ?", [key, Date.now() - TTL_MS], ); if (!row) return null;