diff --git a/src/routers/sources.py b/src/routers/sources.py index 7a3f8d7..01c447e 100644 --- a/src/routers/sources.py +++ b/src/routers/sources.py @@ -821,28 +821,6 @@ async def update_suggestion( return {"status": new_status, "action": result_action} -@router.post("/health/run") -async def run_health_check_now( - admin: dict = Depends(get_current_admin), - db: aiosqlite.Connection = Depends(db_dependency), -): - """Health-Check manuell starten.""" - # source_health und source_suggester importieren - from shared.services.source_health import run_health_checks - from shared.services.source_suggester import generate_suggestions - - result = await run_health_checks(db) - suggestion_count = await generate_suggestions(db) - - return { - "checked": result["checked"], - "issues": result["issues"], - "suggestions": suggestion_count, - } - - - - @router.post("/health/run-stream") async def run_health_check_stream( diff --git a/src/static/dashboard.html b/src/static/dashboard.html index 421014e..4c69e88 100644 --- a/src/static/dashboard.html +++ b/src/static/dashboard.html @@ -393,9 +393,17 @@ - +