We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa208ac commit 066faa5Copy full SHA for 066faa5
api/v1/reviews/PKPReviewController.php
@@ -185,7 +185,7 @@ public function getHistory(Request $illuminateRequest): JsonResponse
185
$declineEmail = null;
186
if ($reviewAssignment->getDeclined()) {
187
$emailLogs = EmailLogEntry::withAssocId($submissionId)
188
- ->withEventType(SubmissionEmailLogEventType::REVIEW_DECLINE)
+ ->withEventTypes([SubmissionEmailLogEventType::REVIEW_DECLINE])
189
->withSenderId($reviewerId)
190
->withAssocType(Application::ASSOC_TYPE_SUBMISSION)
191
->get();
0 commit comments