refactor(server): apply fmt + lint recos

This commit is contained in:
Edouard Vanbelle
2026-04-14 10:51:48 +02:00
parent af23c56486
commit 62a7713af5
7 changed files with 67 additions and 29 deletions
+5 -1
View File
@@ -746,7 +746,11 @@ impl FileHandler {
tokio::spawn(async move {
tracing::info!("🖼️ Generating thumbnails for: {}", file_id);
thumbnail_service.generate_all_sizes_background(file_id, blob_hash_owned, file_path);
thumbnail_service.generate_all_sizes_background(
file_id,
blob_hash_owned,
file_path,
);
});
}
+5 -2
View File
@@ -16,7 +16,10 @@ use crate::application::services::share_service::ShareService;
use crate::{
application::{
dtos::share_dto::{CreateShareDto, UpdateShareDto},
ports::{file_ports::{FileRetrievalUseCase, OptimizedFileContent}, share_ports::ShareUseCase},
ports::{
file_ports::{FileRetrievalUseCase, OptimizedFileContent},
share_ports::ShareUseCase,
},
},
common::{di::AppState, errors::ErrorKind},
domain::entities::share::ShareItemType,
@@ -290,7 +293,7 @@ pub async fn download_shared_file(
"Sharing is disabled",
"Disabled",
)
.into_response()
.into_response();
}
};