fix: include comment in notification email on document rejection

closes #869bppd0e
This commit is contained in:
Björn Fromme committed 2026-01-08 19:50:57 +01:00
1 parent 241675f68d
commit 5eced50940
3 files changed
+4 -5

No files matched your search

@@ -67,7 +67,7 @@ class CheckController extends AbstractController
case Upload::STATUS_REJECTED:
$this->rejectDocument($document, $formData->getComment());
$this->eventDispatcher->dispatch(
new DocumentRejectedEvent($formData),
new DocumentRejectedEvent($document),
DocumentRejectedEvent::NAME
);
break;