Skip to content

Commit

Permalink
Merge pull request #1223 from akto-api-security/hotfix/test_editor_nu…
Browse files Browse the repository at this point in the history
…ll_fix

fix null pointer in test editor
  • Loading branch information
notshivansh authored Jun 24, 2024
2 parents 1a7d1c3 + 83233a3 commit 4266603
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@ public void setTestRunResultSummaryId(ObjectId testRunResultSummaryId) {
}

public String getTestRunHexId() {
if (testRunHexId == null) return this.testRunId.toHexString();
if (testRunHexId == null && this.testRunId != null) {
return this.testRunId.toHexString();
}
return this.testRunHexId;
}

Expand Down

0 comments on commit 4266603

Please sign in to comment.