fix: dashboard severity field name mismatch
This commit is contained in:
@@ -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"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user