refactor(server): apply fmt + lint recos
This commit is contained in:
@@ -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,
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user