Skip to content

Commit

Permalink
Added Notification to routeNotificationFor method
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastiaanKloos authored Jun 24, 2022
1 parent d3417c5 commit 35c7ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebhookChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __construct(Client $client)
*/
public function send($notifiable, Notification $notification)
{
if (! $url = $notifiable->routeNotificationFor('webhook')) {
if (! $url = $notifiable->routeNotificationFor('webhook', $notification)) {
return;
}

Expand Down

0 comments on commit 35c7ce5

Please sign in to comment.