MCP refactor

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Jokob @NetAlertX
2025-12-07 08:37:55 +00:00
committed by GitHub
parent 8c982cd476
commit 5d1c63375b
3 changed files with 4 additions and 6 deletions

View File

@@ -32,6 +32,7 @@ class EventInstance:
ORDER BY eve_DateTime DESC
LIMIT ?
""", (n,)).fetchall()
conn.close()
return self._rows_to_list(rows)
# --- Specific helper for last 10 ---