diff --git a/src/Observers/SquadApplicationObserver.php b/src/Observers/SquadApplicationObserver.php index d33a7c5..a751c9e 100644 --- a/src/Observers/SquadApplicationObserver.php +++ b/src/Observers/SquadApplicationObserver.php @@ -56,7 +56,7 @@ private function dispatch(SquadApplication $member) { $groups = $settings = NotificationGroup::with('alerts') ->whereHas('alerts', function ($query) { - $query->where('alert', 'squad_member'); + $query->where('alert', 'squad_application'); })->get(); $this->dispatchNotifications('squad_application', $groups, function ($notificationClass) use ($member) {