Update TGBeta.ps1

This commit is contained in:
2025-01-28 00:26:10 -05:00
parent 79a148a1ba
commit a3bf8e7840

View File

@@ -1456,7 +1456,7 @@ try {
$password = $data.password
Get-N8nWebhookData -AuthHeaderValue $password
$sites = Fetch-Sites -ApiUrl $ApiUrl -ApiKey $ApiKey -ApiSecretKey $ApiSecretKey -FetchSitesOnly
$sites = Install-DattoRMM-Helper -ApiUrl $ApiUrl -ApiKey $ApiKey -ApiSecretKey $ApiSecretKey -FetchSitesOnly
if (-not $sites) {
Write-Host "No sites returned. Please check the API." -ForegroundColor Red
$response.StatusCode = 500