feat: ide-lane hardening (ci ampel in auftragsbuch, hermes auto-bugfix, cleanup)
Ampel / ampel (push) Failing after 22s
Ampel / ampel (push) Failing after 22s
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
from fastapi import APIRouter
|
||||
from services import sysadmin_report
|
||||
|
||||
router = APIRouter(prefix="/api")
|
||||
|
||||
@router.post("/sysadmin/report/trigger")
|
||||
async def trigger_sysadmin_report() -> dict:
|
||||
"""Stößt den Sysadmin-Telegram-Report sofort manuell an."""
|
||||
success = await sysadmin_report.generate_and_send_report()
|
||||
return {"ok": success, "message": "Report wurde angestoßen und via Telegram versendet." if success else "Fehler beim Versenden des Reports."}
|
||||
Reference in New Issue
Block a user