From da9c6fca5bbca381962b0a12675d90a4e813afb0 Mon Sep 17 00:00:00 2001 From: Tobias de Bruijn Date: Thu, 25 Apr 2024 21:21:03 +0200 Subject: [PATCH] Fmt --- server/chroma/src/routes/v1/album/list.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server/chroma/src/routes/v1/album/list.rs b/server/chroma/src/routes/v1/album/list.rs index 49aeaca..adc1a6e 100644 --- a/server/chroma/src/routes/v1/album/list.rs +++ b/server/chroma/src/routes/v1/album/list.rs @@ -65,11 +65,13 @@ pub async fn list( .await; // Merge the two sets - let mut albums = [fetched_albums, + let mut albums = [ + fetched_albums, cached_albums .into_iter() .filter_map(|(_, v)| v) - .collect::>()] + .collect::>(), + ] .concat(); // Check if we should include draft albums