feat: delete non empty folders

This commit is contained in:
kodi
2026-03-14 07:48:29 +01:00
parent f092007998
commit d84b3da561
16 changed files with 218 additions and 11 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ async def delete(
request: DeleteRequest,
service: FileOpsService = Depends(get_file_ops_service),
) -> DeleteResponse:
return service.delete(path=request.path)
return service.delete(path=request.path, recursive=request.recursive)
@router.post("/upload", response_model=UploadResponse)