Fix getting a single batch through the GET route

This commit is contained in:
Louis Dureuil 2024-11-21 17:59:31 +01:00
parent 9a08757a70
commit ba7500998e
No known key found for this signature in database

View File

@ -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)?;