Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasDeBruijn committed Apr 25, 2024
1 parent 4d91f82 commit da9c6fc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions server/chroma/src/routes/v1/album/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<Vec<_>>()]
.collect::<Vec<_>>(),
]
.concat();

// Check if we should include draft albums
Expand Down

0 comments on commit da9c6fc

Please sign in to comment.