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 authored and defstat committed May 1, 2024
1 parent 81520ee commit 363bc92
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 363bc92

Please sign in to comment.