Skip to content

Commit a58a3ab

Browse files
authored
Merge pull request #114 from michaelLovesCoke/master
Updated routeNotificationFor call
2 parents c15577e + b065db5 commit a58a3ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebPushChannel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct(WebPush $webPush, ReportHandlerInterface $reportHand
3939
public function send($notifiable, Notification $notification)
4040
{
4141
/** @var \Illuminate\Database\Eloquent\Collection $subscriptions */
42-
$subscriptions = $notifiable->routeNotificationFor('WebPush');
42+
$subscriptions = $notifiable->routeNotificationFor('WebPush', $notification);
4343

4444
if (empty($subscriptions)) {
4545
return;

0 commit comments

Comments
 (0)