diff --git a/internal/commands/predicates.go b/internal/commands/predicates.go index f06ed682d..3a5c95222 100644 --- a/internal/commands/predicates.go +++ b/internal/commands/predicates.go @@ -219,7 +219,7 @@ type predicateView struct { SimilarityID string `format:"name:Similarity ID"` Severity string State string - StateID string + StateID int Comment string CreatedBy string CreatedAt time.Time `format:"name:Created at;time:01-02-06 15:04:05"` diff --git a/internal/wrappers/predicates.go b/internal/wrappers/predicates.go index 08b58ffef..eee0c0beb 100644 --- a/internal/wrappers/predicates.go +++ b/internal/wrappers/predicates.go @@ -10,7 +10,7 @@ type BasePredicate struct { State string `json:"state"` Severity string `json:"severity"` Comment string `json:"comment"` - StateID string `json:"StateId"` + StateID int `json:"stateId"` } type PredicateRequest struct {