fix: include comment in notification email on document rejection

closes #869bppd0e
This commit is contained in:
Björn Fromme
2026-03-15 12:42:27 +01:00
parent b25950ee65
commit afe38289ec
3 changed files with 4 additions and 5 deletions
@@ -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;