Merge pull request #3779 from appwrite/fix-filesecurity-response-type

Fix filesecurity response type
This commit is contained in:
Eldad A. Fux 2022-09-07 14:16:26 +03:00 committed by GitHub
commit 61a852affd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,9 +36,9 @@ class Bucket extends Model
'array' => true,
])
->addRule('fileSecurity', [
'type' => self::TYPE_STRING,
'type' => self::TYPE_BOOLEAN,
'description' => 'Whether file-level security is enabled. [Learn more about permissions](/docs/permissions).',
'default' => '',
'default' => false,
'example' => true,
])
->addRule('name', [