From 2f1ca604d63c26854a08b189f27cd6c7f72802b6 Mon Sep 17 00:00:00 2001 From: dyoder Date: Thu, 23 Sep 2021 14:15:40 -0400 Subject: [PATCH] i'm an idiot --- Install-EmberkomCloudBackup.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Install-EmberkomCloudBackup.ps1 b/Install-EmberkomCloudBackup.ps1 index 5940b38..5d94795 100644 --- a/Install-EmberkomCloudBackup.ps1 +++ b/Install-EmberkomCloudBackup.ps1 @@ -40,7 +40,7 @@ Catch { $_.Exception.Message } ## Get agent details and custom fields from Atera Try { LogMsg "Getting Atera agent and custom field information" - Set-AteraAPIKey = $AteraAPIKey + Set-AteraAPIKey -APIKey $AteraAPIKey $AteraAgent = Get-AteraAgent $MSP360Username = Get-AteraCustomValue -ObjectType Customer -ObjectId $AteraAgent.CustomerID -FieldName 'MSP360 Account Username' $MSP360Password = Get-AteraCustomValue -ObjectType Customer -ObjectId $AteraAgent.CustomerID -FieldName 'MSP360 Account Password'