mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 08:28:42 +00:00
Change collections priority for pricing override
This commit is contained in:
parent
e5fb743943
commit
fc504e3a68
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ class Base extends Queries
|
|||
public function __construct(string $collection, array $allowedAttributes)
|
||||
{
|
||||
$config = Config::getParam('collections', []);
|
||||
$collections = array_merge($config['console'], $config['projects'], $config['buckets'], $config['databases']);
|
||||
$collections = array_merge($config['projects'], $config['buckets'], $config['databases'], $config['console']);
|
||||
$collection = $collections[$collection];
|
||||
// array for constant lookup time
|
||||
$allowedAttributesLookup = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue