From 3b9e9e25c2c428d6a7ab5ba8c0700fcb713155db Mon Sep 17 00:00:00 2001 From: claude-dev Date: Sat, 18 Apr 2026 22:05:45 +0000 Subject: [PATCH] public_api: latest_developments in Incident-Response aufnehmen Die oeffentliche API (/api/public/lagebild) liefert jetzt latest_developments als Feld im Incident-Objekt. Damit kann der Website-Sync das Feld in current.json und summary.json uebertragen, und die Lagebild-Seite kann einen Tab Neueste Entwicklungen rendern. --- src/routers/public_api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routers/public_api.py b/src/routers/public_api.py index e515342..9086b39 100644 --- a/src/routers/public_api.py +++ b/src/routers/public_api.py @@ -179,6 +179,7 @@ async def _build_lagebild_response(db, incident_ids: list, primary_id: int) -> d "article_count": len(articles), "source_count": source_count, "factcheck_count": len(fact_checks), + "latest_developments": incident.get("latest_developments") or "", }, "current_lagebild": { "summary_markdown": incident.get("summary", ""),