From 60e161555387ac2728db251a04ccde5c258c0ea1 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Sun, 16 Aug 2026 11:07:24 -0500 Subject: [PATCH] Update sentryd.py --- system/sentryd/sentryd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/sentryd/sentryd.py b/system/sentryd/sentryd.py index d2e7ae204..530448515 100644 --- a/system/sentryd/sentryd.py +++ b/system/sentryd/sentryd.py @@ -69,7 +69,7 @@ class SentryMode: return status = {**status_values, "updatedAt": _utc_now()} try: - self.params.put("SentryModeStatus", json.dumps(status, separators=(",", ":"))) + self.params.put("SentryModeStatus", status) except Exception: cloudlog.exception("sentryd: failed to write status") self._last_status = status_values @@ -114,7 +114,7 @@ class SentryMode: cloudlog.exception("sentryd: failed to trim old events") def _publish_event(self, event: dict) -> None: - self.params.put("SentryModeLastEvent", json.dumps(event, separators=(",", ":"))) + self.params.put("SentryModeLastEvent", event) self._write_status(event["kind"], eventId=event["eventId"]) def publish():