fix remove adapter attribute from storage buckets
This commit is contained in:
parent
5ef23e32c2
commit
64b3a04465
2 changed files with 1 additions and 3 deletions
|
@ -61,7 +61,7 @@ App::post('/v1/storage/buckets')
|
|||
->inject('dbForProject')
|
||||
->inject('audits')
|
||||
->inject('usage')
|
||||
->action(function ($bucketId, $name, $permission, $read, $write, $maximumFileSize, $allowedFileExtensions, $enabled, $adapter, $encryption, $antivirus, $response, $dbForProject, $audits, $usage) {
|
||||
->action(function ($bucketId, $name, $permission, $read, $write, $maximumFileSize, $allowedFileExtensions, $enabled, $encryption, $antivirus, $response, $dbForProject, $audits, $usage) {
|
||||
/** @var Appwrite\Utopia\Response $response */
|
||||
/** @var Utopia\Database\Database $dbForProject */
|
||||
/** @var Appwrite\Event\Event $audits */
|
||||
|
@ -111,7 +111,6 @@ App::post('/v1/storage/buckets')
|
|||
'maximumFileSize' => $maximumFileSize,
|
||||
'allowedFileExtensions' => $allowedFileExtensions,
|
||||
'enabled' => $enabled,
|
||||
'adapter' => $adapter,
|
||||
'encryption' => $encryption,
|
||||
'antivirus' => $antivirus,
|
||||
'$read' => $read ?? [],
|
||||
|
|
|
@ -158,7 +158,6 @@ $http->on('start', function (Server $http) use ($payloadSize, $register) {
|
|||
'maximumFileSize' => (int) App::getEnv('_APP_STORAGE_LIMIT', 0), // 10MB
|
||||
'allowedFileExtensions' => [],
|
||||
'enabled' => true,
|
||||
'adapter' => '',
|
||||
'encryption' => true,
|
||||
'antivirus' => true,
|
||||
'$read' => ['role:all'],
|
||||
|
|
Loading…
Reference in a new issue