From eb9848ede4109d0476bada9895c4fa733d54a149 Mon Sep 17 00:00:00 2001 From: Hyoseong Jo Date: Sun, 28 Dec 2025 16:43:12 +0900 Subject: [PATCH] =?UTF-8?q?=EC=86=8C=EC=8A=A4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/api/anomaly/logs.get.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/api/anomaly/logs.get.ts b/backend/api/anomaly/logs.get.ts index 8152c8e..7124a7c 100644 --- a/backend/api/anomaly/logs.get.ts +++ b/backend/api/anomaly/logs.get.ts @@ -23,7 +23,7 @@ export default defineEventHandler(async (event) => { current_value, threshold_value, message, detected_at FROM anomaly_logs WHERE detect_type = $1 - AND detected_at >= NOW() - INTERVAL '${interval}' + AND detected_at::timestamp >= NOW() - INTERVAL '${interval}' ORDER BY detected_at DESC LIMIT 100 `, [type])