diff --git a/src/Http/Controllers/WebhookController.php b/src/Http/Controllers/WebhookController.php index 538aad5..105f675 100644 --- a/src/Http/Controllers/WebhookController.php +++ b/src/Http/Controllers/WebhookController.php @@ -53,7 +53,7 @@ private function handleAlert($notificationClass, $payload) return response()->noContent(); } - (new AnonymousNotifiable)->notify(new $notificationClass($payload, $users)); + (new AnonymousNotifiable)->notify(new $notificationClass($payload, $site->users)); return response('Webhook handled'); }