From 9b16863e97c901bfb3dcb09dbc84dff0b75d0a50 Mon Sep 17 00:00:00 2001 From: Raul Salvat Date: Sat, 7 Mar 2026 21:53:51 +0000 Subject: [PATCH] add monitoring check record persistence foundation --- src/lib/server/osoh-state.json | 2 ++ src/lib/server/osoh-store.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/lib/server/osoh-state.json b/src/lib/server/osoh-state.json index 6395c2b..19bf5f8 100644 --- a/src/lib/server/osoh-state.json +++ b/src/lib/server/osoh-state.json @@ -24,3 +24,5 @@ "monitoringEvents": [], "auditTrail": [] } + + diff --git a/src/lib/server/osoh-store.ts b/src/lib/server/osoh-store.ts index a3f68e3..bd66e55 100644 --- a/src/lib/server/osoh-store.ts +++ b/src/lib/server/osoh-store.ts @@ -92,3 +92,5 @@ export const loadOsohStoreState = async (): Promise => { export const saveOsohStoreState = async (state: OsohStoreState): Promise => { await writeFile(statePath, JSON.stringify(state, null, 2) + "`n", 'utf8'); }; + +