InvokeNetboxRequest(Helpers): Fix indent (using Visual Code Formatter)

This commit is contained in:
Alexis La Goutte 2021-07-21 22:22:59 +02:00
parent 4ad0562466
commit 2bf4ed6f6f

View file

@ -93,11 +93,13 @@ function InvokeNetboxRequest {
if ($Raw) {
Write-Verbose "Returning raw result by choice"
return $result
} else {
}
else {
if ($result.psobject.Properties.Name.Contains('results')) {
Write-Verbose "Found Results property on data, returning results directly"
return $result.Results
} else {
}
else {
Write-Verbose "Did NOT find results property on data, returning raw result"
return $result
}