diff --git a/app/config/collections.php b/app/config/collections.php index fc8d613b6d..d490a1dc99 100644 --- a/app/config/collections.php +++ b/app/config/collections.php @@ -3,9 +3,9 @@ use Utopia\Config\Config; $common = include __DIR__ . '/collections/common.php'; -$bucket = include __DIR__ . '/collections/bucket.php'; -$project = include __DIR__ . '/collections/project.php'; -$database = include __DIR__ . '/collections/database.php'; +$buckets = include __DIR__ . '/collections/buckets.php'; +$projects = include __DIR__ . '/collections/projects.php'; +$databases = include __DIR__ . '/collections/databases.php'; $platform = include __DIR__ . '/collections/platform.php'; $auth = Config::getParam('auth', []); @@ -21,9 +21,9 @@ $providers = Config::getParam('oAuthProviders', []); */ $collections = [ - 'buckets' => $bucket, - 'databases' => $database, - 'projects' => array_merge($project, $common), + 'buckets' => $buckets, + 'databases' => $databases, + 'projects' => array_merge($projects, $common), 'console' => array_merge($platform, $common), ]; diff --git a/app/config/collections/bucket.php b/app/config/collections/buckets.php similarity index 100% rename from app/config/collections/bucket.php rename to app/config/collections/buckets.php diff --git a/app/config/collections/database.php b/app/config/collections/databases.php similarity index 100% rename from app/config/collections/database.php rename to app/config/collections/databases.php diff --git a/app/config/collections/project.php b/app/config/collections/projects.php similarity index 100% rename from app/config/collections/project.php rename to app/config/collections/projects.php