Fixed constructor

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2025-02-27 14:22:48 +00:00
parent cd1d1b2d3e
commit 25807cc62f

View file

@ -19,9 +19,10 @@ class UnacceptedAssetReminderMail extends Mailable
*/ */
public function __construct($checkout_info, $count) public function __construct($checkout_info, $count)
{ {
$this->count = $count; $this->count = $count;
$this->target = $checkout_info['acceptance']?->assignedTo; $this->target = $checkout_info?->assignedTo;
$this->acceptance = $checkout_info['acceptance']; $this->acceptance = $checkout_info;
} }
/** /**