mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix tests
This commit is contained in:
@@ -212,7 +212,11 @@ $run = function (SwooleRequest $request, SwooleResponse $response) use ($adapter
|
||||
$client->setData($request->getContent());
|
||||
|
||||
$body = \json_decode($client->requestBody, true);
|
||||
$body['runtimeId'] = $executor['id'] . '-' . $body['runtimeId'];
|
||||
|
||||
if (\array_key_exists('runtimeId', $body)) {
|
||||
$body['runtimeId'] = $executor['id'] . '-' . $body['runtimeId'];
|
||||
}
|
||||
|
||||
$client->requestBody = \json_encode($body);
|
||||
|
||||
$status = $client->execute($request->server['request_uri'] ?? '/');
|
||||
|
||||
Reference in New Issue
Block a user