diff --git a/argos/server/queries.py b/argos/server/queries.py index eb42b4f..aa3b863 100644 --- a/argos/server/queries.py +++ b/argos/server/queries.py @@ -126,7 +126,7 @@ async def get_severity_counts(db: Session) -> dict: counts_dict = dict(task_counts_by_severity) for key in ("ok", "warning", "critical"): counts_dict.setdefault(key, 0) - return task_counts_by_severity + return counts_dict async def remove_old_results(db: Session, max_results: int):