feat: logging toegevoegd

This commit is contained in:
kodi
2026-03-12 07:32:44 +01:00
parent ea6eac9536
commit 9901c77919
30 changed files with 1069 additions and 124 deletions
+14
View File
@@ -0,0 +1,14 @@
from __future__ import annotations
from fastapi import APIRouter, Depends
from backend.app.api.schemas import HistoryListResponse
from backend.app.dependencies import get_history_service
from backend.app.services.history_service import HistoryService
router = APIRouter(prefix="/history")
@router.get("", response_model=HistoryListResponse)
async def list_history(service: HistoryService = Depends(get_history_service)) -> HistoryListResponse:
return service.list_history()