Merge pull request #13042 from appwrite/fix/execution-response-init

fix(functions): init executionResponse before sync createExecution
This commit is contained in:
Chirag Aggarwal authored and GitHub committed 2026-07-30 09:14:19 +05:30
commit 436e8fe40c
1 file changed
+5
@@ -408,6 +408,11 @@ class Create extends Base
]);
/** Execute function */
$executionResponse = [
'headers' => [],
'body' => '',
];
try {
$version = $function->getAttribute('version', 'v2');
$command = $runtime['startCommand'];