1
0
Fork 0
mirror of synced 2024-07-02 05:00:33 +12:00

Merge branch '1.4.x' of github.com:appwrite/appwrite into 1.4.x

This commit is contained in:
Christy Jacob 2023-09-07 13:41:26 -04:00
commit c6530eff3b
3 changed files with 3 additions and 1 deletions

View file

@ -66,6 +66,7 @@ return [
Auth::USER_ROLE_GUESTS => [
'label' => 'Guests',
'scopes' => [
'global',
'public',
'home',
'console',

View file

@ -1458,6 +1458,7 @@ App::post('/v1/functions/:functionId/deployments/:deploymentId/builds/:buildId')
$deployment = $dbForProject->createDocument('deployments', $deployment->setAttributes([
'$id' => $deploymentId,
'$internalId' => '',
'buildId' => '',
'buildInternalId' => '',
'entrypoint' => $function->getAttribute('entrypoint'),

View file

@ -106,7 +106,7 @@ Server::setResource('execute', function () {
'functionId' => $function->getId(),
'deploymentInternalId' => $deployment->getInternalId(),
'deploymentId' => $deployment->getId(),
'trigger' => 'http',
'trigger' => $trigger,
'status' => 'processing',
'responseStatusCode' => 0,
'responseHeaders' => [],