diff --git a/Evergreen/Shared/Get-OperaApp.ps1 b/Evergreen/Shared/Get-OperaApp.ps1 index ebc941ee..4874481e 100644 --- a/Evergreen/Shared/Get-OperaApp.ps1 +++ b/Evergreen/Shared/Get-OperaApp.ps1 @@ -12,8 +12,7 @@ function Get-OperaApp { param ( [Parameter(Mandatory = $false, Position = 0)] [ValidateNotNullOrEmpty()] - [System.Management.Automation.PSObject] - $res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1]) + [System.Management.Automation.PSObject] $res ) foreach ($Channel in $res.Get.Update.Channels) {