Lint
This commit is contained in:
parent
09b001e891
commit
8d4191b1a0
2 changed files with 2 additions and 2 deletions
|
@ -1336,7 +1336,7 @@ App::delete('/v1/storage/buckets/:bucketId/files/:fileId')
|
|||
if ($file->isEmpty() || $file->getAttribute('bucketId') !== $bucketId) {
|
||||
throw new Exception('File not found', 404, Exception::STORAGE_FILE_NOT_FOUND);
|
||||
}
|
||||
|
||||
|
||||
if ($fileSecurity) {
|
||||
$valid |= $validator->isValid($file->getDelete());
|
||||
}
|
||||
|
|
|
@ -91,7 +91,7 @@ class DatabasesPermissionsGuestTest extends Scope
|
|||
]);
|
||||
|
||||
foreach ($documents['body']['documents'] as $document) {
|
||||
foreach($document['$permissions'] as $permission) {
|
||||
foreach ($document['$permissions'] as $permission) {
|
||||
if (!\str_starts_with($permission, 'read')) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue