Added auth

This commit is contained in:
Connor Johnstone
2026-03-19 14:02:19 -04:00
parent 2592651c9a
commit 0e5195e64c
2 changed files with 10 additions and 7 deletions

View File

@@ -240,7 +240,7 @@ impl fmt::Display for SyncStats {
/// Finds all Track-type Wanted items and enqueues them for download,
/// skipping any that already have a queue entry.
pub async fn sync_wanted_to_queue(conn: &DatabaseConnection, dry_run: bool) -> DlResult<SyncStats> {
let wanted = queries::wanted::list(conn, Some(WantedStatus::Wanted)).await?;
let wanted = queries::wanted::list(conn, Some(WantedStatus::Wanted), None).await?;
let mut stats = SyncStats::default();
for item in &wanted {