Skip to content

Commit

Permalink
Added the flag of the risk type associated to the history of validate…
Browse files Browse the repository at this point in the history
…d recommendations.
  • Loading branch information
ruslanbaidan committed Sep 1, 2024
1 parent 3724941 commit 3a0c013
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Service/AnrRecommendationHistoryService.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ public function getList(Anr $anr): array
'riskCommentAfter' => $recommendationHistory->getRiskCommentAfter(),
'riskMaxRiskBefore' => $recommendationHistory->getRiskMaxRiskBefore(),
'riskMaxRiskAfter' => $recommendationHistory->getRiskMaxRiskAfter(),
'instanceRisk' => $recommendationHistory->getInstanceRisk() !== null,
'instanceRiskOp' => $recommendationHistory->getInstanceRiskOp() !== null,
];
}

Expand Down

0 comments on commit 3a0c013

Please sign in to comment.