From 1c73d541532ec42e5b92603dd734a4a19a660191 Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 22 Jan 2026 17:32:39 +0200 Subject: [PATCH] revert --- .../Utopia/Database/Validator/Queries/Projects.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Appwrite/Utopia/Database/Validator/Queries/Projects.php b/src/Appwrite/Utopia/Database/Validator/Queries/Projects.php index 3990eba3fb..50c9d850f3 100644 --- a/src/Appwrite/Utopia/Database/Validator/Queries/Projects.php +++ b/src/Appwrite/Utopia/Database/Validator/Queries/Projects.php @@ -8,16 +8,16 @@ class Projects extends Base 'name', 'teamId', 'labels', - 'search', + 'search' ]; /** - * @param array|null $allowedAttributes - * @throws \Exception + * Expression constructor + * */ - public function __construct(array $allowedAttributes = null) + public function __construct() { - parent::__construct('projects', $allowedAttributes ?? static::ALLOWED_ATTRIBUTES); + parent::__construct('projects', self::ALLOWED_ATTRIBUTES); } public function isSelectQueryAllowed(): bool