mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: function command
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user