From c5efe23d01a20da522e886c35414d06ba23f5778 Mon Sep 17 00:00:00 2001 From: Connor Johnstone Date: Tue, 24 Mar 2026 20:47:14 -0400 Subject: [PATCH] format,test,blah --- src/routes/artists.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/routes/artists.rs b/src/routes/artists.rs index cfa707e..67ea5ef 100644 --- a/src/routes/artists.rs +++ b/src/routes/artists.rs @@ -94,15 +94,9 @@ async fn list_artists( ) -> Result { auth::require_auth(&session)?; let artists = queries::artists::list(state.db.conn(), query.limit, query.offset).await?; - let wanted = queries::wanted::list(state.db.conn(), None, None).await?; let mut items: Vec = Vec::new(); for a in &artists { - let artist_wanted: Vec<_> = wanted - .iter() - .filter(|w| w.artist_id == Some(a.id)) - .collect(); - // Check if we have cached artist-level totals from a prior detail page load let cache_key = format!("artist_totals:{}", a.id); let cached_totals: Option<(u32, u32, u32)> =