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