From d24d77e2c906538732dcdb0f9a94f4daead2112a Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Thu, 1 Jun 2023 02:27:08 +0000 Subject: [PATCH] order --- src/Appwrite/Utopia/Database/Validator/Queries/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Utopia/Database/Validator/Queries/Base.php b/src/Appwrite/Utopia/Database/Validator/Queries/Base.php index ad8ae2a96b..feb744024c 100644 --- a/src/Appwrite/Utopia/Database/Validator/Queries/Base.php +++ b/src/Appwrite/Utopia/Database/Validator/Queries/Base.php @@ -25,7 +25,7 @@ class Base extends Queries public function __construct(string $collection, array $allowedAttributes) { $config = Config::getParam('collections', []); - $collections = array_merge($config['projects'], $config['console'], $config['buckets'], $config['databases']); + $collections = array_merge($config['console'], $config['projects'], $config['buckets'], $config['databases']); $collection = $collections[$collection]; // array for constant lookup time $allowedAttributesLookup = [];