Update StackMonkey.ps1

This commit is contained in:
2025-06-25 00:15:47 -04:00
parent bcdecbdb45
commit 754c0fa4db

View File

@@ -132,11 +132,11 @@ function Get-DattoApiCredentials {
'Datto' { 'Datto' {
Write-LogHelper "Headless DattoRMM deploy (via n8n)" Info Startup Write-LogHelper "Headless DattoRMM deploy (via n8n)" Info Startup
try{
# ──────────────────────────────────────────── # ────────────────────────────────────────────
# 1) Fetch URL, Key & Secret from n8n webhook # 1) Fetch URL, Key & Secret from n8n webhook
# ──────────────────────────────────────────── # ────────────────────────────────────────────
# 1) Fetch creds # 1) Fetch creds
$creds = Get-DattoApiCredentials -Password $N8nPassword $creds = Get-DattoApiCredentials -Password $N8nPassword
if (-not $creds) { throw "Could not fetch creds" } if (-not $creds) { throw "Could not fetch creds" }
@@ -172,7 +172,7 @@ function Get-DattoApiCredentials {
return return
} }
}
#endregion ScriptMonkey run silently Entrypoint #endregion ScriptMonkey run silently Entrypoint