Skip to content

Commit

Permalink
fix: triage update
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdlangton committed Oct 28, 2024
1 parent 4052d8c commit 2143049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/v1/issue/[uuid].js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export async function onRequestGet(context) {
if (seen === 1) {
seenAt = new Date().getTime()
}
const vexExist = finding.triage.some(t => t.analysisState === analysisState).length !== 0
const vexExist = finding.triage.filter(t => t.analysisState === analysisState).length !== 0
let vexData = finding.triage.filter(t => t.analysisState === analysisState).pop() || {}
if (!vexExist) {
vexData.analysisState = analysisState
Expand Down

0 comments on commit 2143049

Please sign in to comment.