diff --git a/crates/meilisearch/src/routes/batches.rs b/crates/meilisearch/src/routes/batches.rs index d01bd5965..6faedc021 100644 --- a/crates/meilisearch/src/routes/batches.rs +++ b/crates/meilisearch/src/routes/batches.rs @@ -34,7 +34,7 @@ async fn get_batch( } }; - let query = index_scheduler::Query { uids: Some(vec![batch_uid]), ..Query::default() }; + let query = index_scheduler::Query { batch_uids: Some(vec![batch_uid]), ..Query::default() }; let filters = index_scheduler.filters(); let (batches, _) = index_scheduler.get_batches_from_authorized_indexes(query, filters)?;