mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Fix site tests
This commit is contained in:
parent
a7fc8cf84b
commit
50ec55d595
2 changed files with 4 additions and 3 deletions
|
|
@ -92,7 +92,6 @@ class Create extends Action
|
|||
$deployment = $dbForProject->createDocument('deployments', $deployment->setAttributes([
|
||||
'$internalId' => '',
|
||||
'$id' => $deploymentId,
|
||||
'buildId' => '',
|
||||
'path' => $destination,
|
||||
'buildCommand' => $site->getAttribute('buildCommand', ''),
|
||||
'installCommand' => $site->getAttribute('installCommand', ''),
|
||||
|
|
|
|||
|
|
@ -6,12 +6,14 @@ class Deployments extends Base
|
|||
{
|
||||
public const ALLOWED_ATTRIBUTES = [
|
||||
'size',
|
||||
'buildId',
|
||||
'status',
|
||||
'activate',
|
||||
'entrypoint',
|
||||
'commands',
|
||||
'type',
|
||||
'size'
|
||||
'size',
|
||||
'buildSize',
|
||||
'buildTime'
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue