From 08f63ccc7a74141592a3c4b0324274774869dc0a Mon Sep 17 00:00:00 2001 From: Fimeg Date: Fri, 31 Oct 2025 13:27:37 -0400 Subject: [PATCH] fix: dashboard severity field name mismatch --- aggregator-server/internal/api/handlers/stats.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aggregator-server/internal/api/handlers/stats.go b/aggregator-server/internal/api/handlers/stats.go index 2d35fd6..4eb659f 100644 --- a/aggregator-server/internal/api/handlers/stats.go +++ b/aggregator-server/internal/api/handlers/stats.go @@ -30,8 +30,8 @@ type DashboardStats struct { PendingUpdates int `json:"pending_updates"` FailedUpdates int `json:"failed_updates"` CriticalUpdates int `json:"critical_updates"` - ImportantUpdates int `json:"important_updates"` - ModerateUpdates int `json:"moderate_updates"` + ImportantUpdates int `json:"high_updates"` + ModerateUpdates int `json:"medium_updates"` LowUpdates int `json:"low_updates"` UpdatesByType map[string]int `json:"updates_by_type"` }