An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
do not send discord message if there is not url
Andras Bacsai01b40b26f5c2
diff --git a/app/Notifications/Channels/DiscordChannel.php b/app/Notifications/Channels/DiscordChannel.phpindex 7032a07968..6c361f89ec 100644--- a/app/Notifications/Channels/DiscordChannel.php+++ b/app/Notifications/Channels/DiscordChannel.php@@ -14,6 +14,9 @@ class DiscordChannel{$message = $notification->toDiscord($notifiable);$webhookUrl = $notifiable->routeNotificationForDiscord();+ if (!$webhookUrl) {+ return;+ }dispatch(new SendMessageToDiscordJob($message, $webhookUrl));}}