Merge branch '1.4.x' of github.com:appwrite/appwrite into 1.4.x
This commit is contained in:
commit
c6530eff3b
3 changed files with 3 additions and 1 deletions
|
@ -66,6 +66,7 @@ return [
|
||||||
Auth::USER_ROLE_GUESTS => [
|
Auth::USER_ROLE_GUESTS => [
|
||||||
'label' => 'Guests',
|
'label' => 'Guests',
|
||||||
'scopes' => [
|
'scopes' => [
|
||||||
|
'global',
|
||||||
'public',
|
'public',
|
||||||
'home',
|
'home',
|
||||||
'console',
|
'console',
|
||||||
|
|
|
@ -1458,6 +1458,7 @@ App::post('/v1/functions/:functionId/deployments/:deploymentId/builds/:buildId')
|
||||||
|
|
||||||
$deployment = $dbForProject->createDocument('deployments', $deployment->setAttributes([
|
$deployment = $dbForProject->createDocument('deployments', $deployment->setAttributes([
|
||||||
'$id' => $deploymentId,
|
'$id' => $deploymentId,
|
||||||
|
'$internalId' => '',
|
||||||
'buildId' => '',
|
'buildId' => '',
|
||||||
'buildInternalId' => '',
|
'buildInternalId' => '',
|
||||||
'entrypoint' => $function->getAttribute('entrypoint'),
|
'entrypoint' => $function->getAttribute('entrypoint'),
|
||||||
|
|
|
@ -106,7 +106,7 @@ Server::setResource('execute', function () {
|
||||||
'functionId' => $function->getId(),
|
'functionId' => $function->getId(),
|
||||||
'deploymentInternalId' => $deployment->getInternalId(),
|
'deploymentInternalId' => $deployment->getInternalId(),
|
||||||
'deploymentId' => $deployment->getId(),
|
'deploymentId' => $deployment->getId(),
|
||||||
'trigger' => 'http',
|
'trigger' => $trigger,
|
||||||
'status' => 'processing',
|
'status' => 'processing',
|
||||||
'responseStatusCode' => 0,
|
'responseStatusCode' => 0,
|
||||||
'responseHeaders' => [],
|
'responseHeaders' => [],
|
||||||
|
|
Loading…
Reference in a new issue