diff --git a/app/config/runtimes.php b/app/config/runtimes.php index 9bdb4d1dd3..83eea55e4b 100644 --- a/app/config/runtimes.php +++ b/app/config/runtimes.php @@ -6,7 +6,7 @@ use Appwrite\Runtimes\Runtimes; /** * List of Appwrite Cloud Functions supported runtimes */ -$runtimes = new Runtimes(App::getEnv('_APP_EXECUTOR_VERSION')); +$runtimes = new Runtimes(App::getEnv('_APP_EXECUTOR_VERSION', 'v1')); $allowList = empty(App::getEnv('_APP_FUNCTIONS_RUNTIMES')) ? [] : \explode(',', App::getEnv('_APP_FUNCTIONS_RUNTIMES'));