style: apply rust format + fix clippy warning

This commit is contained in:
Edouard Vanbelle
2026-03-26 09:46:50 +01:00
parent 2357186f91
commit d78b279ec9
6 changed files with 60 additions and 54 deletions
@@ -139,7 +139,8 @@ impl FileManagementUseCase for FileManagementService {
// Verify file ownership first
self.verify_owner(file_id, caller_id).await?;
// Verify target folder ownership (prevents file from "disappearing")
self.verify_target_folder_owner(&folder_id, caller_id).await?;
self.verify_target_folder_owner(&folder_id, caller_id)
.await?;
self.move_file(file_id, folder_id).await
}