Skip to content

Commit

Permalink
Merge pull request #49 from SebastiaanKloos/add-notification-to-route
Browse files Browse the repository at this point in the history
Added Notification to routeNotificationFor method
  • Loading branch information
freekmurze authored Oct 26, 2023
2 parents b01ee59 + 4cb8433 commit 8a53aaf
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 8a53aaf

Please sign in to comment.