diff --git a/Private/New-NinjaOneGETRequest.ps1 b/Private/New-NinjaOneGETRequest.ps1 index f02e424..ca53bb0 100644 --- a/Private/New-NinjaOneGETRequest.ps1 +++ b/Private/New-NinjaOneGETRequest.ps1 @@ -59,10 +59,6 @@ function New-NinjaOneGETRequest { Write-Debug "Returning 'result' property." Write-Debug "Result type is $($Result.result.GetType())" Return $Result.result - } elseif (($Properties.name -contains 'data') -and (-not $NoDrill)) { - Write-Debug "Returning 'data' property." - Write-Debug "Result type is $($Result.data.GetType())" - Return $Result.data } else { Write-Debug 'Returning raw.' Write-Debug "Result type is $($Result.GetType())"