mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-db-pools-eldad
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user