Skip to content

Commit df76b5b

Browse files
spacing
1 parent e414357 commit df76b5b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/New-CippCoreRequest.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,24 +76,24 @@ function New-CippCoreRequest {
7676
Method = $Request.Method
7777
TriggerType = 'HTTP'
7878
}
79-
79+
8080
# Add tenant filter if present
8181
if ($Request.Query.TenantFilter) {
8282
$metadata['Tenant'] = $Request.Query.TenantFilter
8383
} elseif ($Request.Body.TenantFilter) {
8484
$metadata['Tenant'] = $Request.Body.TenantFilter
8585
}
86-
86+
8787
# Add user info if available
8888
if ($Request.Headers.'x-ms-client-principal-name') {
8989
$metadata['User'] = $Request.Headers.'x-ms-client-principal-name'
9090
}
91-
91+
9292
# Wrap the API call execution with telemetry
9393
$Response = Measure-CippTask -TaskName $Request.Params.CIPPEndpoint -Metadata $metadata -Script {
9494
& $FunctionName @HttpTrigger
9595
}
96-
96+
9797
# Filter to only return HttpResponseContext objects
9898
$HttpResponse = $Response | Where-Object { $_.PSObject.TypeNames -eq 'Microsoft.Azure.Functions.PowerShellWorker.HttpResponseContext' }
9999
if ($HttpResponse) {

0 commit comments

Comments
 (0)