mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-22 12:40:04 +01:00
Fix getting a single batch through the GET route
This commit is contained in:
parent
9a08757a70
commit
ba7500998e
@ -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)?;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user