From 5d6a8be66d425a1dfa1dcdaf439c077b7d02e8e4 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Thu, 24 Oct 2024 19:43:12 +0200 Subject: [PATCH] fix: function command --- src/Appwrite/Platform/Modules/Functions/Workers/Builds.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Modules/Functions/Workers/Builds.php b/src/Appwrite/Platform/Modules/Functions/Workers/Builds.php index 4a884cd9ce..0e9819c8e9 100644 --- a/src/Appwrite/Platform/Modules/Functions/Workers/Builds.php +++ b/src/Appwrite/Platform/Modules/Functions/Workers/Builds.php @@ -830,7 +830,7 @@ class Builds extends Action protected function getCommand(Document $resource, Document $deployment): string { return match($resource->getCollection()) { - 'functions' => $deployment->getAttribute('command', ''), + 'functions' => $deployment->getAttribute('commands', ''), 'sites' => implode(' && ', array_filter([ $deployment->getAttribute('installCommand'), $deployment->getAttribute('buildCommand')