Skip to content

Commit 18c2e8f

Browse files
authored
Merge pull request #11383 from Vitaliy-1/i11252_review_declined
#11252 Fix declined review assignments history
2 parents fa208ac + 066faa5 commit 18c2e8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1/reviews/PKPReviewController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public function getHistory(Request $illuminateRequest): JsonResponse
185185
$declineEmail = null;
186186
if ($reviewAssignment->getDeclined()) {
187187
$emailLogs = EmailLogEntry::withAssocId($submissionId)
188-
->withEventType(SubmissionEmailLogEventType::REVIEW_DECLINE)
188+
->withEventTypes([SubmissionEmailLogEventType::REVIEW_DECLINE])
189189
->withSenderId($reviewerId)
190190
->withAssocType(Application::ASSOC_TYPE_SUBMISSION)
191191
->get();

0 commit comments

Comments
 (0)