diff --git a/app/Notifications/ContractUpdated.php b/app/Notifications/ContractUpdated.php index 541b67b..fe74ad0 100644 --- a/app/Notifications/ContractUpdated.php +++ b/app/Notifications/ContractUpdated.php @@ -57,7 +57,7 @@ public function toArray(object $notifiable): array { return [ 'contract' => $this->contract->id, - 'text' => __('notifications.' . get_class($this), ['contact' => $this->contract->deal->user->name]) + 'text' => __('notifications.' . get_class($this), ['contact' => $this->contract->deal->agent->name]) ]; } }