Skip to content

Commit

Permalink
remove
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush-jain-akto authored Apr 18, 2024
1 parent 0513112 commit 0823276
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ private void writeUpdateQueryIntoWriteModel(List<WriteModel<TestingRunIssues>> w

// name = cateogry
String subCategory = runResult.getTestSubType();
// string comparison (nuclei test)

if (subCategory.startsWith("http")) {//TestSourceConfig case
TestSourceConfig config = TestSourceConfigsDao.instance.getTestSourceConfig(runResult.getTestSubType());
Expand Down Expand Up @@ -113,7 +112,6 @@ private void insertVulnerableTestsIntoIssuesCollection(List<WriteModel<TestingRu
if (!doesExists && runResult.isVulnerable()) {
// name = category
String subCategory = runResult.getTestSubType();
// string comparison (nuclei test)
if (subCategory.startsWith("http")) {
TestSourceConfig config = TestSourceConfigsDao.instance.getTestSourceConfig(runResult.getTestSubType());
writeModelList.add(new InsertOneModel<>(new TestingRunIssues(testingIssuesId,
Expand Down

0 comments on commit 0823276

Please sign in to comment.