mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 16:14:42 +00:00
rector: arrrrr
This commit is contained in:
1 parent
c702ebff6d
commit
16c0cd10d8
349 files changed
+4204
-3712
No files matched your search
@@ -10,11 +10,11 @@ class DiscordChannel
|
||||
/**
|
||||
* Send the given notification.
|
||||
*/
|
||||
public function send(SendsDiscord $notifiable, Notification $notification): void
|
||||
public function send(SendsDiscord $sendsDiscord, Notification $notification): void
|
||||
{
|
||||
$message = $notification->toDiscord();
|
||||
|
||||
$discordSettings = $notifiable->discordNotificationSettings;
|
||||
$discordSettings = $sendsDiscord->discordNotificationSettings;
|
||||
|
||||
if (! $discordSettings || ! $discordSettings->isEnabled() || ! $discordSettings->discord_webhook_url) {
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user