1
0
Fork 0
mirror of synced 2024-07-04 06:00:53 +12:00

Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-db-pools-eldad

This commit is contained in:
Eldad Fux 2022-10-18 17:29:21 +03:00
commit 4fe5c0dd1d
2 changed files with 3 additions and 0 deletions

View file

@ -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()) {

View file

@ -217,6 +217,7 @@ abstract class Worker
return $database;
}
/**
* Get Cache
* @return Cache