From 07be361c7c6349ecaa152bfcde2af29a077804b0 Mon Sep 17 00:00:00 2001 From: Hemachandar Date: Fri, 5 Dec 2025 11:54:28 +0530 Subject: [PATCH] trim space --- app/config/templates/function.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/templates/function.php b/app/config/templates/function.php index 165874c9c7..e10cd4648c 100644 --- a/app/config/templates/function.php +++ b/app/config/templates/function.php @@ -4,7 +4,7 @@ use Utopia\Config\Config; use Utopia\System\System; $templateRuntimes = Config::getParam('template-runtimes'); -$allowList = \array_filter(\explode(',', System::getEnv('_APP_FUNCTIONS_RUNTIMES', ''))); +$allowList = \array_map('trim', \explode(',', System::getEnv('_APP_FUNCTIONS_RUNTIMES', ''))); function getRuntimes($runtimes, $commands, $entrypoint, $providerRootDirectory, $allowList) {