We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2591459 commit efc0a71Copy full SHA for efc0a71
1 file changed
Classes/PrunnerApiService.php
@@ -73,7 +73,7 @@ public function schedulePipeline(PipelineName $pipeline, array $variables): JobI
73
$response = $this->apiCall('POST', 'pipelines/schedule', json_encode([
74
'pipeline' => $pipeline->getName(),
75
'variables' => $variables
76
- ]));
+ ], JSON_FORCE_OBJECT));
77
if ($response->getStatusCode() !== 202) {
78
throw new \RuntimeException('Scheduling a new pipeline run should have returned status code 202, but got: ' . $response->getStatusCode());
79
}
0 commit comments