bugfix in notificationhandler. Not sure about the fix in the template

This commit is contained in:
2022-02-01 17:23:12 +01:00
parent 97d2e3d5b5
commit 76932e6e8c
2 changed files with 7 additions and 1 deletions

View File

@@ -23,6 +23,12 @@ class WorkflowNotificationHandler implements NotificationHandlerInterface
private EntityWorkflowRepository $entityWorkflowRepository;
public function __construct(EntityWorkflowRepository $entityWorkflowRepository, EntityWorkflowManager $entityWorkflowManager)
{
$this->entityWorkflowRepository = $entityWorkflowRepository;
$this->entityWorkflowManager = $entityWorkflowManager;
}
public function getTemplate(Notification $notification, array $options = []): string
{
return '@ChillMain/Workflow/_notification_include.html.twig';