Skip to content

Commit

Permalink
Reverted versionId back to previous value
Browse files Browse the repository at this point in the history
  • Loading branch information
ctevse committed Dec 12, 2023
1 parent 8f80519 commit d8eb08e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public int insertOrUpdateVulnerabilityFull(CompositeVulnerability vuln, boolean
int versionId = rs.getInt(1);
// int versionIdByName = rs.getInt("vuln_version_id");
// log.info("rs.getInt(1) returned {}\nrs.getInt(\"vuln_version_id\") returned {}", versionId, versionIdByName);
vuln.setVersionId(versionId-1);
vuln.setVersionId(versionId);
}
// if we're updating, copy over the vdo/cpe pointers to this new version
if (!newVuln) {
Expand Down

0 comments on commit d8eb08e

Please sign in to comment.