Fix after merge

This commit is contained in:
Matej Bačo 2025-04-08 11:09:12 +02:00
parent a0c013fcec
commit 5a0b22f638

View file

@ -273,7 +273,8 @@ class Executor
'timeout' => $timeout
];
$response = $this->call(self::METHOD_POST, $route, [ 'x-opr-runtime-id' => $runtimeId ], $params, true, $timeout);
$endpoint = $this->selectEndpoint($projectId, $deploymentId);
$response = $this->call($endpoint, self::METHOD_POST, $route, [ 'x-opr-runtime-id' => $runtimeId ], $params, true, $timeout);
$status = $response['headers']['status-code'];
if ($status >= 400) {