From e127a8ecfc29eaf9f635ce2e29851857c1e0aaba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Ho=CC=88=C3=9Fl?= Date: Wed, 25 Dec 2024 10:09:43 +0100 Subject: [PATCH] Set site for notifications --- models/backgroundJobs/SendNotification.php | 1 + 1 file changed, 1 insertion(+) diff --git a/models/backgroundJobs/SendNotification.php b/models/backgroundJobs/SendNotification.php index 409046d15..88062f282 100644 --- a/models/backgroundJobs/SendNotification.php +++ b/models/backgroundJobs/SendNotification.php @@ -29,6 +29,7 @@ public function __construct( public ?string $replyTo ) { $this->consultation = $consultation; + $this->site = $consultation?->site; } public function getTypeId(): string