mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-22 10:07:40 +08: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 filters = index_scheduler.filters();
|
||||||
let (batches, _) = index_scheduler.get_batches_from_authorized_indexes(query, filters)?;
|
let (batches, _) = index_scheduler.get_batches_from_authorized_indexes(query, filters)?;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user