Skip to content

Commit

Permalink
#9453 Expose the right recommandation value
Browse files Browse the repository at this point in the history
  • Loading branch information
nibou230 committed Jan 19, 2024
1 parent a667b25 commit 0b4fc5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/v1/reviews/PKPReviewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ public function getHistory(Request $illuminateRequest): JsonResponse
}

$reviewAssignmentProps = Repo::reviewAssignment()->getSchemaMap()->map($reviewAssignment);
$recommendation = $reviewAssignment->getLocalizedRecommendation();

$reviewAssignmentId = $reviewAssignment->getId();
$submissionCommentDao = DAORegistry::getDAO('SubmissionCommentDAO');
Expand All @@ -155,6 +156,7 @@ public function getHistory(Request $illuminateRequest): JsonResponse
'publicationTitle' => $publicationTitle,
'declineEmail' => $declineEmail,
'reviewAssignment' => $reviewAssignmentProps,
'recommendation' => $recommendation,
'comments' => $comments,
'privateComments' => $privateComments,
'displayFiles' => $displayFiles,
Expand Down

0 comments on commit 0b4fc5f

Please sign in to comment.