fix collection config name
This commit is contained in:
parent
64c719e82c
commit
0f8a3fcea3
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ App::post('/v1/storage/buckets')
|
|||
|
||||
$bucketId = $bucketId === 'unique()' ? $dbForInternal->getId() : $bucketId;
|
||||
try {
|
||||
$files = Config::getParam('collections', [])['files'] ?? [];
|
||||
$files = Config::getParam('subCollections', [])['files'] ?? [];
|
||||
if(empty($files)) {
|
||||
throw new Exception('Files collection is not configured.');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue