From 01f27874b235f7850649639e59b9296b0bf040a5 Mon Sep 17 00:00:00 2001 From: Binyamin Yawitz <316103+byawitz@users.noreply.github.com> Date: Thu, 8 Aug 2024 10:03:10 -0400 Subject: [PATCH] fix: Addressing review --- app/controllers/api/teams.php | 3 +-- app/views/install/compose.phtml | 1 - docker-compose.yml | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/controllers/api/teams.php b/app/controllers/api/teams.php index 474a94faca..bde494d65d 100644 --- a/app/controllers/api/teams.php +++ b/app/controllers/api/teams.php @@ -341,11 +341,10 @@ App::delete('/v1/teams/:teamId') ->inject('response') ->inject('getProjectDB') ->inject('dbForProject') - ->inject('dbForConsole') ->inject('queueForDeletes') ->inject('queueForEvents') ->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); diff --git a/app/views/install/compose.phtml b/app/views/install/compose.phtml index d28b688ce7..c266a76f53 100644 --- a/app/views/install/compose.phtml +++ b/app/views/install/compose.phtml @@ -65,7 +65,6 @@ $image = $this->getParam('image', ''); - appwrite-config:/storage/config:rw - appwrite-certificates:/storage/certificates:rw - appwrite-functions:/storage/functions:rw - - appwrite-builds:/storage/builds:rw depends_on: - mariadb - redis diff --git a/docker-compose.yml b/docker-compose.yml index 70fecfd877..8fbad2f652 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -76,7 +76,6 @@ services: - appwrite-config:/storage/config:rw - appwrite-certificates:/storage/certificates:rw - appwrite-functions:/storage/functions:rw - - appwrite-builds:/storage/builds:rw - ./phpunit.xml:/usr/src/code/phpunit.xml - ./tests:/usr/src/code/tests - ./app:/usr/src/code/app