From 5a0b22f638d0afce2a606323ce8c8f874966085d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Tue, 8 Apr 2025 11:09:12 +0200 Subject: [PATCH] Fix after merge --- src/Executor/Executor.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Executor/Executor.php b/src/Executor/Executor.php index aa2e894c1d..c381ceeae3 100644 --- a/src/Executor/Executor.php +++ b/src/Executor/Executor.php @@ -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) {