chore: format
This commit is contained in:
1 parent
c4332be71e
commit
c004b4ecb5
73 files changed
+1165
-350
No files matched your search
@@ -186,8 +186,10 @@ async def create_folder(
|
||||
detail=ERROR_MESSAGES.DEFAULT('Error creating folder'),
|
||||
)
|
||||
|
||||
if form_data.data and 'files' in form_data.data and not await can_read_all_folder_files(
|
||||
form_data.data['files'], user, db=db
|
||||
if (
|
||||
form_data.data
|
||||
and 'files' in form_data.data
|
||||
and not await can_read_all_folder_files(form_data.data['files'], user, db=db)
|
||||
):
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_403_FORBIDDEN,
|
||||
|
||||
Reference in new issue
Block a user