Skip to content

Commit 4c3753d

Browse files
authored
Merge pull request #391 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents bc80e6c + da6880c commit 4c3753d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Entrypoints/Activity Triggers/Push-SchedulerCIPPNotifications.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function Push-SchedulerCIPPNotifications {
106106
try {
107107
Write-Information $($config | ConvertTo-Json)
108108
Write-Information $config.webhook
109-
if ($Config.webhook -ne '' -and $null) {
109+
if (![string]::IsNullOrEmpty($config.webhook)) {
110110
if ($Currentlog) {
111111
$JSONContent = $Currentlog | ConvertTo-Json -Compress
112112
Send-CIPPAlert -Type 'webhook' -JSONContent $JSONContent -TenantFilter $Tenant -APIName 'Alerts'

0 commit comments

Comments
 (0)