Implement Discord webhook delivery
This commit is contained in:
@@ -19,7 +19,7 @@ class QueueTicketStatusChangedNotificationDeliveries
|
||||
->each(function (NotificationAction $notificationAction) use ($event): void {
|
||||
$notificationDeliveryLogId = null;
|
||||
|
||||
if ($notificationAction->channel === NotificationChannel::Webhook) {
|
||||
if (in_array($notificationAction->channel, [NotificationChannel::Discord, NotificationChannel::Webhook], true)) {
|
||||
$notificationDeliveryLogId = NotificationDeliveryLog::query()->create([
|
||||
'attempt_count' => 0,
|
||||
'channel' => $notificationAction->channel,
|
||||
|
||||
Reference in New Issue
Block a user