Skip to content

Commit

Permalink
Merge pull request #3 from arnebr/feat-notification-channel
Browse files Browse the repository at this point in the history
Feat-notification-channel
  • Loading branch information
arnebr committed Feb 10, 2023
2 parents fc21ed7 + 482412d commit 2abe5e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Channels/TibberChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class TibberChannel
*/
public function send(object $notifiable, Notification $notification): void
{
// @phpstan-ignore-next-line
$payload = $notification->toTibber($notifiable);
Tibber::sendPushNotification($payload->title, $payload->message, $payload->screenToOpen);

Expand Down

0 comments on commit 2abe5e6

Please sign in to comment.