Skip to content

Commit 8a53aaf

Browse files
authored
Merge pull request #49 from SebastiaanKloos/add-notification-to-route
Added Notification to routeNotificationFor method
2 parents b01ee59 + 4cb8433 commit 8a53aaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebhookChannel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct(Client $client)
3232
*/
3333
public function send($notifiable, Notification $notification)
3434
{
35-
if (! $url = $notifiable->routeNotificationFor('webhook')) {
35+
if (! $url = $notifiable->routeNotificationFor('webhook', $notification)) {
3636
return;
3737
}
3838

0 commit comments

Comments
 (0)