Fix create execution request content type (#12533)

This commit is contained in:
Chirag Aggarwal authored and GitHub committed 2026-06-08 11:48:43 +05:30
1 parent f9e7e0e549
commit b940b6744c
1 file changed
+1 -1
@@ -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)