From 754c0fa4db0964bfd224cbbe2d57291027b1e6fd Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Wed, 25 Jun 2025 00:15:47 -0400 Subject: [PATCH] Update StackMonkey.ps1 --- StackMonkey.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/StackMonkey.ps1 b/StackMonkey.ps1 index 0134169..9bdc881 100644 --- a/StackMonkey.ps1 +++ b/StackMonkey.ps1 @@ -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