Fix runInterpretResultsFor using the wrong AnalysisConfig for category fix

This commit is contained in:
Michael B. Gale
2025-09-10 16:14:19 +01:00
parent f374a62c8b
commit e49458befe
2 changed files with 2 additions and 2 deletions

View File

@@ -780,7 +780,7 @@ export async function runQueries(
// If this is a Code Quality analysis, correct the category to one
// accepted by the Code Quality backend.
let category = automationDetailsId;
if (dbAnalysisConfig.kind === analyses.AnalysisKind.CodeQuality) {
if (analysis.kind === analyses.AnalysisKind.CodeQuality) {
category = fixCodeQualityCategory(logger, automationDetailsId);
}