@@ -107,7 +107,7 @@ function Receive-Webhook
|
|||||||
}
|
}
|
||||||
"task.created" {
|
"task.created" {
|
||||||
$notificationTitle = "Donetick 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"
|
$notificationContent = "$($payload.data.chore.name) created"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user