refactor: merge checks into monitors (/monitors/:id/history), ingest moves to /internal/ingest

This commit is contained in:
M1
2026-03-16 13:43:55 +04:00
parent a22112dc77
commit b4f95fa375
5 changed files with 30 additions and 33 deletions
+1 -1
View File
@@ -58,7 +58,7 @@
const monitorsWithChecks = await Promise.all(
monitors.map(async (m) => {
try {
const checks = await api(`/checks/${m.id}?limit=20`);
const checks = await api(`/monitors/${m.id}/history?limit=20`);
return { ...m, checks };
} catch {
return { ...m, checks: [] };