This commit is contained in:
Joeri 2026-02-20 14:26:22 +01:00
parent 13ba38d190
commit e933781b0e

View file

@ -69,6 +69,7 @@ if ($result -eq [System.Windows.Forms.DialogResult]::OK) {
} }
# === SEND TO WEBHOOK ==================================================== # === SEND TO WEBHOOK ====================================================
try {
$payload = @{ $payload = @{
ticket = $ticket ticket = $ticket
remoteData = $remoteData remoteData = $remoteData
@ -86,6 +87,3 @@ if ($result -eq [System.Windows.Forms.DialogResult]::OK) {
Write-Error "Failed to send ticket: $_" Write-Error "Failed to send ticket: $_"
} }
} }
else {
Write-Host "User cancelled - nothing sent."
}