mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-22 04:30:05 +01:00
Merge #5080
5080: Fix getting a single batch through the GET route r=Kerollmops a=dureuill # Pull Request ## Related issue Fixes a bug where getting a single batch does not work Related to #5070 fix by `@Kerollmops` Co-authored-by: Louis Dureuil <louis@meilisearch.com>
This commit is contained in:
commit
98a785b0d7
@ -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