diff --git a/Start-DoneTickConsumer.ps1 b/Start-DoneTickConsumer.ps1 index 71246ed..48dcd1e 100644 --- a/Start-DoneTickConsumer.ps1 +++ b/Start-DoneTickConsumer.ps1 @@ -107,7 +107,7 @@ function Receive-Webhook } "task.created" { $notificationTitle = "Donetick Task Created" - if ($null -ne $payload.data.chore.nextDueDate) + if ($null -eq $payload.data.chore.nextDueDate) { $notificationContent = "$($payload.data.chore.name) created" }