mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Make clippy happy
This commit is contained in:
parent
7b93ba40bd
commit
4f4fc20acf
3 changed files with 14 additions and 12 deletions
|
@ -465,8 +465,10 @@ async fn get_task(
|
|||
|
||||
analytics.publish("Tasks Seen".to_string(), json!({ "per_task_uid": true }), Some(&req));
|
||||
|
||||
let mut query = index_scheduler::Query::default();
|
||||
query.uid = Some(vec![task_id]);
|
||||
let query = index_scheduler::Query {
|
||||
uid: Some(vec![task_id]),
|
||||
..Query::default()
|
||||
};
|
||||
|
||||
if let Some(task) = index_scheduler
|
||||
.get_tasks_from_authorized_indexes(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue