Fix notification not sending
All checks were successful
Push image to registry / build-image (push) Successful in 4m14s
All checks were successful
Push image to registry / build-image (push) Successful in 4m14s
This commit is contained in:
@ -87,7 +87,7 @@ class DiscordWebHookNotification extends NotificationProvider {
|
||||
}
|
||||
|
||||
private static function getDiscordWebHookUrl(bool $isError, array $options): string {
|
||||
if ($options["discord_webhook_url"] !== null) {
|
||||
if (isset($options["discord_webhook_url"]) && $options["discord_webhook_url"] !== null) {
|
||||
return $options["discord_webhook_url"];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user