| from fastapi import APIRouter | |
| from app.core.storage import incident_history | |
| router = APIRouter() | |
| async def get_history(): | |
| return {"incidents": incident_history} | |
| from fastapi import APIRouter | |
| from app.core.storage import incident_history | |
| router = APIRouter() | |
| async def get_history(): | |
| return {"incidents": incident_history} | |