File size: 192 Bytes
2d521fd
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from fastapi import APIRouter
from app.core.storage import incident_history

router = APIRouter()


@router.get("/history")
async def get_history():
    return {"incidents": incident_history}