From b940b6744c46b4500c3b20579ea9a551fc5107b0 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Mon, 8 Jun 2026 11:48:43 +0530 Subject: [PATCH] Fix create execution request content type (#12533) --- .../Platform/Modules/Functions/Http/Executions/Create.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php b/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php index ba36b47884..7326d13791 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php @@ -81,7 +81,7 @@ class Create extends Base model: Response::MODEL_EXECUTION, ) ], - contentType: ContentType::MULTIPART, + requestType: ContentType::MULTIPART, )) ->param('functionId', '', fn (Database $dbForProject) => new UID($dbForProject->getAdapter()->getMaxUIDLength()), 'Function ID.', false, ['dbForProject']) ->param('body', '', new Text(10485760, 0), 'HTTP body of execution. Default value is empty string.', true)