From bea6ccbe92a32c10d62dbc39818452bc5a45119c Mon Sep 17 00:00:00 2001 From: fogelito Date: Wed, 21 Jan 2026 15:59:36 +0200 Subject: [PATCH] Pull changes --- .../Modules/Databases/Http/Databases/XList.php | 1 - .../Platform/Modules/Projects/Http/Projects/XList.php | 1 - src/Appwrite/Utopia/Request/Filters/V22.php | 10 +--------- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/XList.php index 6c7b3edf1f..e3dd46839a 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/XList.php @@ -18,7 +18,6 @@ use Utopia\Database\Query; use Utopia\Database\Validator\Query\Cursor; use Utopia\Platform\Action; use Utopia\Swoole\Response as SwooleResponse; -use Utopia\Validator; use Utopia\Validator\Boolean; use Utopia\Validator\Text; diff --git a/src/Appwrite/Platform/Modules/Projects/Http/Projects/XList.php b/src/Appwrite/Platform/Modules/Projects/Http/Projects/XList.php index b9229d5f4e..6c7d9dfaef 100644 --- a/src/Appwrite/Platform/Modules/Projects/Http/Projects/XList.php +++ b/src/Appwrite/Platform/Modules/Projects/Http/Projects/XList.php @@ -19,7 +19,6 @@ use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Query; use Utopia\Database\Validator\Query\Cursor; use Utopia\Platform\Scope\HTTP; -use Utopia\Validator; use Utopia\Validator\Boolean; use Utopia\Validator\Text; diff --git a/src/Appwrite/Utopia/Request/Filters/V22.php b/src/Appwrite/Utopia/Request/Filters/V22.php index 235957939c..cd06c2f6db 100644 --- a/src/Appwrite/Utopia/Request/Filters/V22.php +++ b/src/Appwrite/Utopia/Request/Filters/V22.php @@ -11,23 +11,15 @@ class V22 extends Filter { public function parse(array $content, string $model): array { - var_dump('========================='); - var_dump($model); - - if (isset($content['queries'])){ - var_dump('=== queries ==='); - var_dump($content['queries']); + if (isset($content['queries'])) { $content = $this->convertSelectQueries($content); } - var_dump('========================='); return $content; } private function convertSelectQueries(array $content): array { - var_dump('convertQueries'); - if (!isset($content['queries'])) { return $content; }