diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php b/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php index b815076b1e..d502a78e07 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php @@ -278,7 +278,6 @@ class Create extends Base if ($async) { if (is_null($scheduledAt)) { $execution = Authorization::skip(fn () => $dbForProject->createDocument('executions', $execution)); - $queueForFunctions ->setType('http') ->setExecution($execution) diff --git a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php index bccbc2bb8e..ff99033fdf 100644 --- a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php +++ b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php @@ -1576,9 +1576,6 @@ class FunctionsCustomServerTest extends Scope $this->assertStringContainsString("total", $execution['body']['logs']); }, 10000, 500); - $execution = $this->getExecution($functionId, $executionId); - var_dump($execution); - $this->cleanupFunction($functionId); }