We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 968f43c commit 7588759Copy full SHA for 7588759
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Extensions/Invoke-ListExtensionSync.ps1
@@ -50,10 +50,9 @@ Function Invoke-ListExtensionSync {
50
$AllTasksArrayList.Add($TaskEntry)
51
}
52
53
- Write-Host ($AllTasksArrayList | ConvertTo-Json -Depth 5 -Compress)
54
- # Associate values to output bindings by calling 'Push-OutputBinding'.
+
55
Push-OutputBinding -Name Response -Value ([HttpResponseContext]@{
56
StatusCode = [HttpStatusCode]::OK
57
- Body = ConvertTo-Json -Depth 5 -InputObject $($AllTasksArrayList)
+ Body = ConvertTo-Json -Depth 5 -InputObject @($AllTasksArrayList)
58
})
59
0 commit comments