Skip to content

Commit fcc5ef8

Browse files
Merge pull request #1046 from Checkmarx/feature/saraChen/addStateIDToTriageShow
Change State ID to int(AST-81675)
2 parents 11a251a + 7c1effa commit fcc5ef8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/commands/predicates.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ type predicateView struct {
219219
SimilarityID string `format:"name:Similarity ID"`
220220
Severity string
221221
State string
222-
StateID string
222+
StateID int
223223
Comment string
224224
CreatedBy string
225225
CreatedAt time.Time `format:"name:Created at;time:01-02-06 15:04:05"`

internal/wrappers/predicates.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ type BasePredicate struct {
1010
State string `json:"state"`
1111
Severity string `json:"severity"`
1212
Comment string `json:"comment"`
13-
StateID string `json:"StateId"`
13+
StateID int `json:"stateId"`
1414
}
1515

1616
type PredicateRequest struct {

0 commit comments

Comments
 (0)