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
+2 -1
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) {