diff --git a/app/http.php b/app/http.php index b6696775b8..053db20ffc 100644 --- a/app/http.php +++ b/app/http.php @@ -20,13 +20,10 @@ use Utopia\Database\Database; use Utopia\Database\Document; use Utopia\Swoole\Files; use Appwrite\Utopia\Request; -use Swoole\Runtime; use Utopia\Logger\Log; use Utopia\Logger\Log\User; use Utopia\Pools\Group; -Runtime::enableCoroutine(SWOOLE_HOOK_NATIVE_CURL); - $http = new Server("0.0.0.0", App::getEnv('PORT', 80)); $payloadSize = 6 * (1024 * 1024); // 6MB diff --git a/src/Appwrite/Utopia/Response.php b/src/Appwrite/Utopia/Response.php index c5aece71bb..7e52536eed 100644 --- a/src/Appwrite/Utopia/Response.php +++ b/src/Appwrite/Utopia/Response.php @@ -544,7 +544,6 @@ class Response extends SwooleResponse if ($rule['array']) { if (!is_array($data[$key])) { - \var_dump($data); throw new Exception($key . ' must be an array of type ' . $rule['type']); } diff --git a/tests/e2e/Services/GraphQL/FunctionsServerTest.php b/tests/e2e/Services/GraphQL/FunctionsServerTest.php index dd5f179744..49a8fd61f2 100644 --- a/tests/e2e/Services/GraphQL/FunctionsServerTest.php +++ b/tests/e2e/Services/GraphQL/FunctionsServerTest.php @@ -166,8 +166,6 @@ class FunctionsServerTest extends Scope 'x-appwrite-project' => $projectId, ], $this->getHeaders()), $gqlPayload); - \var_dump($execution); - $this->assertIsArray($execution['body']['data']); $this->assertArrayNotHasKey('errors', $execution['body']);