diff --git a/content/self-host/client-deployment/_index.en.md b/content/self-host/client-deployment/_index.en.md index ef5d45b..ef1c3fd 100644 --- a/content/self-host/client-deployment/_index.en.md +++ b/content/self-host/client-deployment/_index.en.md @@ -67,12 +67,10 @@ function getLatest() } # Create object to return - $Result = New-Object PSObject -Property - @{ - Version = $Version - Downloadlink = $Downloadlink - } - + $params += @{Version = $Version} + $params += @{Downloadlink = $Downloadlink} + $Result = New-Object PSObject -Property $params + return($Result) }