mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
prevent adapter update
This commit is contained in:
@@ -154,7 +154,6 @@ App::put('/v1/storage/buckets/:bucketId')
|
||||
->param('maximumFileSize', 0, new Integer(), 'Maximum file size allowed.', true)
|
||||
->param('allowedFileExtensions', ['*'], new ArrayList(new Text(64)), 'Allowed file extensions', true)
|
||||
->param('enabled', true, new Boolean(), 'Is bucket enabled?', true)
|
||||
->param('adapter', 'local', new WhiteList(['local']), 'Storage adapter.', true)
|
||||
->param('encryption', true, new Boolean(), 'Is encryption enabled?', true)
|
||||
->param('antiVirus', true, new Boolean(), 'Is virus scanning enabled?', true)
|
||||
->inject('response')
|
||||
@@ -181,7 +180,6 @@ App::put('/v1/storage/buckets/:bucketId')
|
||||
->setAttribute('maximumFileSize',$maximumFileSize)
|
||||
->setAttribute('allowedFileExtensions',$allowedFileExtensions)
|
||||
->setAttribute('enabled',$enabled)
|
||||
->setAttribute('adapter',$adapter)
|
||||
->setAttribute('encryption',$encryption)
|
||||
->setAttribute('antiVirus',$antiVirus)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user