Update StackMonkey.ps1
This commit is contained in:
@@ -132,11 +132,11 @@ function Get-DattoApiCredentials {
|
||||
|
||||
'Datto' {
|
||||
Write-LogHelper "Headless DattoRMM deploy (via n8n)" Info Startup
|
||||
|
||||
try{
|
||||
# ────────────────────────────────────────────
|
||||
# 1) Fetch URL, Key & Secret from n8n webhook
|
||||
# ────────────────────────────────────────────
|
||||
|
||||
|
||||
# 1) Fetch creds
|
||||
$creds = Get-DattoApiCredentials -Password $N8nPassword
|
||||
if (-not $creds) { throw "Could not fetch creds" }
|
||||
@@ -172,7 +172,7 @@ function Get-DattoApiCredentials {
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
}
|
||||
#endregion ScriptMonkey run silently Entrypoint
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user