From a3bf8e7840c9644a6c6e238a64e2956def3e5ff0 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Tue, 28 Jan 2025 00:26:10 -0500 Subject: [PATCH] Update TGBeta.ps1 --- TGBeta.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TGBeta.ps1 b/TGBeta.ps1 index 8b9c370..a8dba20 100644 --- a/TGBeta.ps1 +++ b/TGBeta.ps1 @@ -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