cargo fmt

This commit is contained in:
Arnaud_Cayrol 2026-02-13 22:59:40 +01:00
parent fbafb2c1e1
commit d9809539dc
2 changed files with 9 additions and 2 deletions

View file

@ -246,7 +246,10 @@ impl ImmichClient {
/// Falls back to the original if the preview is unavailable.
pub async fn download_asset_preview(&self, asset_id: &str) -> Result<bytes::Bytes> {
let encoded_id = urlencode(asset_id);
let url = format!("{}/assets/{}/thumbnail?size=preview", self.base_url, encoded_id);
let url = format!(
"{}/assets/{}/thumbnail?size=preview",
self.base_url, encoded_id
);
let response = self
.client

View file

@ -2,7 +2,11 @@
//!
//! Web server for creating selfie timelapses from Immich.
use immich_timelapse::{config::{Config, CONFIG_PATH}, models::DlibLandmarks, web};
use immich_timelapse::{
config::{Config, CONFIG_PATH},
models::DlibLandmarks,
web,
};
use std::net::SocketAddr;
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};