mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Added vcsInstallationInternalId as attribute
This commit is contained in:
@@ -566,6 +566,17 @@ $collections = [
|
||||
'array' => false,
|
||||
'filters' => []
|
||||
],
|
||||
[
|
||||
'$id' => ID::custom('vcsInstallationInternalId'),
|
||||
'type' => Database::VAR_STRING,
|
||||
'format' => '',
|
||||
'size' => Database::LENGTH_KEY,
|
||||
'signed' => true,
|
||||
'required' => true,
|
||||
'default' => null,
|
||||
'array' => false,
|
||||
'filters' => []
|
||||
],
|
||||
[
|
||||
'$id' => ID::custom('projectId'),
|
||||
'type' => Database::VAR_STRING,
|
||||
|
||||
@@ -533,6 +533,7 @@ App::put('/v1/functions/:functionId')
|
||||
Query::limit(100),
|
||||
]);
|
||||
$vcsInstallationsId = $vcsInstallations->getId();
|
||||
$vcsInstallationInternalId = $vcsInstallations->getInternalId();
|
||||
|
||||
//Add document in VCS map collection
|
||||
$vcs_repos = new Document([
|
||||
@@ -543,6 +544,7 @@ App::put('/v1/functions/:functionId')
|
||||
Permission::delete(Role::any()),
|
||||
],
|
||||
'vcsInstallationId' => $vcsInstallationsId,
|
||||
'vcsInstallationInternalId' => $vcsInstallationInternalId,
|
||||
'projectId' => $project->getId(),
|
||||
'projectInternalId' => $projectInternalId,
|
||||
'repositoryId' => $repositoryId,
|
||||
|
||||
Reference in New Issue
Block a user