Skip to content

Commit 066faa5

Browse files
committed
#11252 Fix declined review assignments history
1 parent fa208ac commit 066faa5

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)