-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
Environment
PHP: 7.4.10
Laravel: 7.28.3
Hi, thank you for the package! I tried a simple use case but my pagerduty account isn't receiving it. I don't see any exceptions being thrown, but I do see via Telescope that the Notification is firing. Am I missing something? I didn't see from the docs that I should add anything in .env, so I went straight to this.
Here is BasicNotification.php
public function via($notifiable)
{
return [PagerDutyChannel::class];
}
public function toPagerDuty($notifiable) : PagerDutyMessage
{
return PagerDutyMessage::create()
->setSummary('Sample Message');
}
Here is how I ran it:
Notification::route(PagerDutyChannel::class, '[my integration key]')->notify(new BasicNotification);
Here Telescope shows the Notification fired:
But I receive nothing in my PagerDuty account:
Any pointers to successfully use your package will be much appreciated!