This commit is contained in:
Andras Bacsai committed 2024-12-06 14:33:22 +01:00
1 parent f7eccefda3
commit 08d992a1c2
4 files changed
+22 -20

No files matched your search

+3 -3
View File
@@ -14,9 +14,9 @@ class SlackChannel
{
$message = $notification->toSlack();
$webhookUrl = $notifiable->routeNotificationForSlack();
if (!$webhookUrl) {
if (! $webhookUrl) {
return;
}
dispatch(new SendMessageToSlackJob($message, $webhookUrl))->onQueue('high');
SendMessageToSlackJob::dispatch($message, $webhookUrl);
}
}
}