fix: dashboard severity field name mismatch

This commit is contained in:
Fimeg
2025-10-31 13:27:37 -04:00
parent 3f9164c7ca
commit 08f63ccc7a

View File

@@ -30,8 +30,8 @@ type DashboardStats struct {
PendingUpdates int `json:"pending_updates"` PendingUpdates int `json:"pending_updates"`
FailedUpdates int `json:"failed_updates"` FailedUpdates int `json:"failed_updates"`
CriticalUpdates int `json:"critical_updates"` CriticalUpdates int `json:"critical_updates"`
ImportantUpdates int `json:"important_updates"` ImportantUpdates int `json:"high_updates"`
ModerateUpdates int `json:"moderate_updates"` ModerateUpdates int `json:"medium_updates"`
LowUpdates int `json:"low_updates"` LowUpdates int `json:"low_updates"`
UpdatesByType map[string]int `json:"updates_by_type"` UpdatesByType map[string]int `json:"updates_by_type"`
} }