Skip to content

Self-hosted homelab infrastructure visualizer — interactive network diagram with live status monitoring

fix(types): add type params to broadcast_service_status services arg

Pouzord032103b7d0f
diff --git a/backend/app/api/routes/status.py b/backend/app/api/routes/status.py
index ec544e2..b119cdc 100644
--- a/backend/app/api/routes/status.py
+++ b/backend/app/api/routes/status.py
@@ -54,7 +54,7 @@ async def broadcast_status(node_id: str, status: str, checked_at: str, response_
}))
-async def broadcast_service_status(node_id: str, services: list[dict], checked_at: str) -> None:
+async def broadcast_service_status(node_id: str, services: list[dict[str, object]], checked_at: str) -> None:
await _broadcast(json.dumps({
"type": "service_status",
"node_id": node_id,