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