Skip to content

Commit

Permalink
fix squad application notification dispatching (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
recursivetree authored Dec 2, 2023
1 parent 2eea0b8 commit ba86c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Observers/SquadApplicationObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ba86c22

Please sign in to comment.