Update to artist credit handling
This commit is contained in:
@@ -126,6 +126,8 @@ async fn trigger_organize(
|
||||
let promoted = queries::wanted::promote_downloaded_to_owned(state.db.conn())
|
||||
.await
|
||||
.unwrap_or(0);
|
||||
// Invalidate cached artist totals so library/detail pages show fresh data
|
||||
let _ = queries::cache::purge_prefix(state.db.conn(), "artist_totals:").await;
|
||||
let msg = if promoted > 0 {
|
||||
format!("{stats} — {promoted} items marked as owned")
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user