We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93ba288 commit 5ae674dCopy full SHA for 5ae674d
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Invoke-AddTestReport.ps1
@@ -21,8 +21,8 @@ function Invoke-AddTestReport {
21
22
# Generate a unique ID
23
$ReportId = New-Guid
24
- $IdentityTests = $Body.IdentityTests ? ($Body.IdentityTests.value | ConvertTo-Json) : '[]'
25
- $DevicesTests = $Body.DevicesTests ? ($Body.DevicesTests.value | ConvertTo-Json) : '[]'
+ $IdentityTests = $Body.IdentityTests ? ($Body.IdentityTests | ConvertTo-Json -Compress) : '[]'
+ $DevicesTests = $Body.DevicesTests ? ($Body.DevicesTests | ConvertTo-Json -Compress) : '[]'
26
27
# Create report object
28
$Report = [PSCustomObject]@{
0 commit comments