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 a44cb7b commit d2c8357Copy full SHA for d2c8357
Modules/CippEntrypoints/CippEntrypoints.psm1
@@ -133,9 +133,9 @@ function Receive-CippOrchestrationTrigger {
133
}
134
135
if (!$OrchestratorInput.Batch -or ($OrchestratorInput.Batch | Measure-Object).Count -eq 0) {
136
- $Batch = @(Invoke-ActivityFunction -FunctionName 'CIPPActivityFunction' -Input $OrchestratorInput.QueueFunction -ErrorAction Stop)
+ $Batch = (Invoke-ActivityFunction -FunctionName 'CIPPActivityFunction' -Input $OrchestratorInput.QueueFunction -ErrorAction Stop)
137
} else {
138
- $Batch = @($OrchestratorInput.Batch)
+ $Batch = $OrchestratorInput.Batch
139
140
141
if (($Batch | Measure-Object).Count -gt 0) {
0 commit comments