diff --git a/app/controllers/api/database.php b/app/controllers/api/database.php index c93be127be..d3fd2ab68b 100644 --- a/app/controllers/api/database.php +++ b/app/controllers/api/database.php @@ -210,12 +210,6 @@ App::get('/v1/database/collections') /** @var Appwrite\Utopia\Response $response */ /** @var Utopia\Database\Database $dbForInternal */ - $queries = []; - - if (!empty($search)) { - $queries[] = new Query('name', Query::TYPE_SEARCH, [$search]); - } - if (!empty($cursor)) { $cursorCollection = $dbForInternal->getDocument('collections', $cursor);