Skip to content

Commit

Permalink
Merge 50012d1 into 223623e
Browse files Browse the repository at this point in the history
  • Loading branch information
heathdutton committed Dec 2, 2019
2 parents 223623e + 50012d1 commit add9a09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/PusherChannel.php
Expand Up @@ -2,10 +2,10 @@

namespace NotificationChannels\PusherPushNotifications;

use Pusher\Pusher;
use Illuminate\Events\Dispatcher;
use Illuminate\Notifications\Notification;
use Illuminate\Notifications\Events\NotificationFailed;
use Illuminate\Notifications\Notification;
use Pusher\Pusher;

class PusherChannel
{
Expand Down Expand Up @@ -48,7 +48,7 @@ public function send($notifiable, Notification $notification)
);

if (! in_array($response['status'], [200, 202])) {
$this->events->fire(
$this->events->dispatch(
new NotificationFailed($notifiable, $notification, 'pusher-push-notifications', $response)
);
}
Expand Down

0 comments on commit add9a09

Please sign in to comment.