Updates
This commit is contained in:
parent
2659e5225a
commit
b8f8c97554
1 changed files with 4 additions and 1 deletions
|
|
@ -70,7 +70,10 @@ if ($result -eq [System.Windows.Forms.DialogResult]::OK) {
|
||||||
|
|
||||||
# === SEND TO WEBHOOK ====================================================
|
# === SEND TO WEBHOOK ====================================================
|
||||||
try {
|
try {
|
||||||
$payload = @{ ticket = $ticket } | ConvertTo-Json -Compress
|
$payload = @{
|
||||||
|
ticket = $ticket
|
||||||
|
remoteData = $remoteData
|
||||||
|
} | ConvertTo-Json -Compress
|
||||||
|
|
||||||
$response = Invoke-RestMethod -Uri $WebhookURL -Method Post `
|
$response = Invoke-RestMethod -Uri $WebhookURL -Method Post `
|
||||||
-Body $payload `
|
-Body $payload `
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue