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
feat: get discord Webhook form new table
peaklabs-dev6cab8b45985e
diff --git a/app/Notifications/Channels/DiscordChannel.php b/app/Notifications/Channels/DiscordChannel.phpindex df7040f8fb..362006d8ec 100644--- a/app/Notifications/Channels/DiscordChannel.php+++ b/app/Notifications/Channels/DiscordChannel.php@@ -13,10 +13,13 @@ class DiscordChannelpublic function send(SendsDiscord $notifiable, Notification $notification): void{$message = $notification->toDiscord();- $webhookUrl = $notifiable->routeNotificationForDiscord();- if (! $webhookUrl) {++ $discordSettings = $notifiable->discordNotificationSettings;++ if (! $discordSettings || ! $discordSettings->isEnabled() || ! $discordSettings->discord_webhook_url) {return;}- SendMessageToDiscordJob::dispatch($message, $webhookUrl);++ SendMessageToDiscordJob::dispatch($message, $discordSettings->discord_webhook_url);}}