mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Fix getting a single batch through the GET route
This commit is contained in:
parent
9a08757a70
commit
ba7500998e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue