Update TGBeta.ps1

This commit is contained in:
2025-05-26 23:20:33 -04:00
parent 877e9fd7e7
commit bb9794e19f

View File

@@ -360,6 +360,8 @@ function Get-WebhookData {
} }
try { try {
$response = Invoke-RestMethod -Uri $url -Headers $headers -Method Get $response = Invoke-RestMethod -Uri $url -Headers $headers -Method Get
Write-Host "Webhook response raw JSON: $($response | ConvertTo-Json -Depth 4)" -ForegroundColor Cyan
Write-Host "Response received successfully:" -ForegroundColor Green Write-Host "Response received successfully:" -ForegroundColor Green
$data = $response $data = $response
$global:Comment_SVSmodule = $data._Comment_SVSmodule $global:Comment_SVSmodule = $data._Comment_SVSmodule