Skip to content

Commit

Permalink
Update DiscordWebhookChannel.php
Browse files Browse the repository at this point in the history
  • Loading branch information
BSN4 committed Jan 31, 2020
1 parent bb283dc commit d9f15b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Channels/DiscordWebhookChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,10 @@ public function __construct(HttpClient $http)
*/
public function send($notifiable, Notification $notification)
{
if (! $url = $notifiable->routeNotificationFor('discrod', $notification)) {
if (! $url = $notifiable->routeNotificationFor('discord', $notification)) {
return;
}

dd('here');
return $this->http->post($url . '/slack', $this->buildJsonPayload(
$notification->toSlack($notifiable)
));
Expand Down

0 comments on commit d9f15b1

Please sign in to comment.