Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-db-pools-eldad
This commit is contained in:
commit
4fe5c0dd1d
2 changed files with 3 additions and 0 deletions
|
@ -74,6 +74,8 @@ App::post('/v1/projects')
|
|||
->inject('cache')
|
||||
->inject('pools')
|
||||
->action(function (string $projectId, string $name, string $teamId, string $description, string $logo, string $url, string $legalName, string $legalCountry, string $legalState, string $legalCity, string $legalAddress, string $legalTaxId, Response $response, Database $dbForConsole, Cache $cache, Group $pools) {
|
||||
|
||||
|
||||
$team = $dbForConsole->getDocument('teams', $teamId);
|
||||
|
||||
if ($team->isEmpty()) {
|
||||
|
|
|
@ -217,6 +217,7 @@ abstract class Worker
|
|||
return $database;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get Cache
|
||||
* @return Cache
|
||||
|
|
Loading…
Reference in a new issue