Update TGBeta.ps1
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user