diff --git a/SVSTaskGate.ps1 b/SVSTaskGate.ps1 index 1dbd21a..f3c5345 100644 --- a/SVSTaskGate.ps1 +++ b/SVSTaskGate.ps1 @@ -344,8 +344,6 @@ function Get-N8nWebhookData { $global:ApiSecretKey = $data.ApiSecretKey - - return $data } catch { Write-Host "Error making the GET request:" -ForegroundColor Red @@ -709,12 +707,12 @@ function GetHtmlContent { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ - installRMMCommand, - UID, - Name, - ApiUrl, - ApiKey, - ApiSecretKey + installRMMCommand, "Install-DattoRMM http://proget.svstools.ca:8083/nuget/SVS_Repo/ -ApiKey TMM2F65NR81TR2N2MOUQI5KGC0TELPO -ApikeysecretKey PRB1NSQJ14ISDB00C49LRO2GR3J33RN5" + UID, "9f90bdc8-38fe-4cc6-af6d-c014569b96e3" + Name, "Sytech" + ApiUrl, "http://proget.svstools.ca:8083/nuget/SVS_Repo/" + ApiKey, "TMM2F65NR81TR2N2MOUQI5KGC0TELPO" + ApiSecretKey "PRB1NSQJ14ISDB00C49LRO2GR3J33RN5" }) }) .then(response => response.text())