Merge branch 'feat-sites' into fix-usage-sites

This commit is contained in:
Damodar Lohani 2025-04-08 14:58:14 +05:45 committed by GitHub
commit 0c35498dbb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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) {