We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc80e6c + da6880c commit 4c3753dCopy full SHA for 4c3753d
Modules/CIPPCore/Public/Entrypoints/Activity Triggers/Push-SchedulerCIPPNotifications.ps1
@@ -106,7 +106,7 @@ function Push-SchedulerCIPPNotifications {
106
try {
107
Write-Information $($config | ConvertTo-Json)
108
Write-Information $config.webhook
109
- if ($Config.webhook -ne '' -and $null) {
+ if (![string]::IsNullOrEmpty($config.webhook)) {
110
if ($Currentlog) {
111
$JSONContent = $Currentlog | ConvertTo-Json -Compress
112
Send-CIPPAlert -Type 'webhook' -JSONContent $JSONContent -TenantFilter $Tenant -APIName 'Alerts'
0 commit comments