We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fa208ac + 066faa5 commit 18c2e8fCopy full SHA for 18c2e8f
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