Skip to content

Commit

Permalink
Fix incorrectly entering data prop.
Browse files Browse the repository at this point in the history
  • Loading branch information
homotechsual committed Dec 15, 2022
1 parent d946373 commit bef43dd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Private/New-NinjaOneGETRequest.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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())"
Expand Down

0 comments on commit bef43dd

Please sign in to comment.