diff --git a/app/Mail/ChangeInFavourites.php b/app/Mail/ChangeInFavourites.php index 48e9cdb9..77140894 100644 --- a/app/Mail/ChangeInFavourites.php +++ b/app/Mail/ChangeInFavourites.php @@ -25,6 +25,7 @@ public function __construct($city, $provider, $change) $this->city = $city; $this->provider = $provider; $this->change = $change; + $this->url = env("APP_URL"); } /** @@ -49,7 +50,7 @@ public function content(): Content "city" => $this->city, "provider" => $this->provider, "change" => $this->change, - "url" => env("APP_URL"), + "url" => $this->url, ], ); }