fix(routers+imports): fix missing DetectionRule import and correct -> list return type annotations that actually return paginated dicts
Aegis CI / lint-and-test (push) Has been cancelled

This commit is contained in:
kitos
2026-06-11 13:22:51 +02:00
parent 6ca37f743f
commit 7ded48bdb7
7 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ def list_snapshots(
db: Session = Depends(get_db),
# Entry: current_user
current_user: User = Depends(get_current_user),
) -> list:
) -> dict:
"""List coverage snapshots ordered by creation date (newest first)."""
# Return list_snapshots_svc(db, offset=offset, limit=limit)
return list_snapshots_svc(db, offset=offset, limit=limit)