Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
markvaneijk committed Apr 1, 2024
1 parent a150429 commit 7a54d8f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Listeners/Concerns/SendsNotifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ public function send(Notification $notification, array $channels): void
return;
}

foreach($accounts as $route) {
Notifications::route($channel, $route)->notify(
$notification->on($channel),
);
foreach($accounts as $account) {
Notifications::route($channel, $account)->notify($notification);
}
}
}
Expand Down

0 comments on commit 7a54d8f

Please sign in to comment.