Added auth
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user