fix: Addressing review
This commit is contained in:
parent
844ec11bd3
commit
01f27874b2
3 changed files with 1 additions and 4 deletions
|
@ -341,11 +341,10 @@ App::delete('/v1/teams/:teamId')
|
||||||
->inject('response')
|
->inject('response')
|
||||||
->inject('getProjectDB')
|
->inject('getProjectDB')
|
||||||
->inject('dbForProject')
|
->inject('dbForProject')
|
||||||
->inject('dbForConsole')
|
|
||||||
->inject('queueForDeletes')
|
->inject('queueForDeletes')
|
||||||
->inject('queueForEvents')
|
->inject('queueForEvents')
|
||||||
->inject('project')
|
->inject('project')
|
||||||
->action(function (string $teamId, Response $response, callable $getProjectDB, Database $dbForProject, Database $dbForConsole, Delete $queueForDeletes, Event $queueForEvents, Document $project) {
|
->action(function (string $teamId, Response $response, callable $getProjectDB, Database $dbForProject, Delete $queueForDeletes, Event $queueForEvents, Document $project) {
|
||||||
|
|
||||||
$team = $dbForProject->getDocument('teams', $teamId);
|
$team = $dbForProject->getDocument('teams', $teamId);
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,6 @@ $image = $this->getParam('image', '');
|
||||||
- appwrite-config:/storage/config:rw
|
- appwrite-config:/storage/config:rw
|
||||||
- appwrite-certificates:/storage/certificates:rw
|
- appwrite-certificates:/storage/certificates:rw
|
||||||
- appwrite-functions:/storage/functions:rw
|
- appwrite-functions:/storage/functions:rw
|
||||||
- appwrite-builds:/storage/builds:rw
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
- redis
|
- redis
|
||||||
|
|
|
@ -76,7 +76,6 @@ services:
|
||||||
- appwrite-config:/storage/config:rw
|
- appwrite-config:/storage/config:rw
|
||||||
- appwrite-certificates:/storage/certificates:rw
|
- appwrite-certificates:/storage/certificates:rw
|
||||||
- appwrite-functions:/storage/functions:rw
|
- appwrite-functions:/storage/functions:rw
|
||||||
- appwrite-builds:/storage/builds:rw
|
|
||||||
- ./phpunit.xml:/usr/src/code/phpunit.xml
|
- ./phpunit.xml:/usr/src/code/phpunit.xml
|
||||||
- ./tests:/usr/src/code/tests
|
- ./tests:/usr/src/code/tests
|
||||||
- ./app:/usr/src/code/app
|
- ./app:/usr/src/code/app
|
||||||
|
|
Loading…
Reference in a new issue