From c81cca57e50d0fab833ff8d5c170c179d50f9b8d Mon Sep 17 00:00:00 2001 From: joseph le Date: Mon, 11 Sep 2023 09:37:39 +0700 Subject: [PATCH] change format file --- start/routes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start/routes.ts b/start/routes.ts index 549fcb0..2c5be22 100644 --- a/start/routes.ts +++ b/start/routes.ts @@ -104,7 +104,7 @@ Route.get("/api/log/showLog/:name?", async ({ request, response }) => { }); }); listLine.map((u) => { - if (listExcludeErr.filter((err) => u.includes(err)).length === 0) { + if (listExcludeErr.filter((err) => data[u - 1].includes(err)).length === 0) { detectedLines.push(data[u - 1]); } });