diff --git a/composer.json b/composer.json index a2cd3d3..407624e 100644 --- a/composer.json +++ b/composer.json @@ -75,5 +75,5 @@ "phpstan/phpstan-deprecation-rules": "^1.2", "phpstan/phpstan-phpunit": "^1.4" }, - "version": "2.2.1" + "version": "2.2.2" } diff --git a/src/FilamentAlertsServiceProvider.php b/src/FilamentAlertsServiceProvider.php index 5ffb6f7..a85773e 100644 --- a/src/FilamentAlertsServiceProvider.php +++ b/src/FilamentAlertsServiceProvider.php @@ -62,7 +62,9 @@ public function register(): void type: $this->getStatus(), url: count($this->getActions()) ? $this->getActions()[0]->getUrl() ?? null : null, model: get_class($user), - modelId: $user->id + modelId: $user->id, + image: $data['image'] ?? null, + data: $data, ); return $this;