mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-30 00:34:26 +01:00
Cargo fmt
This commit is contained in:
parent
2c31d7c50a
commit
8dd7942656
@ -465,10 +465,7 @@ async fn get_task(
|
|||||||
|
|
||||||
analytics.publish("Tasks Seen".to_string(), json!({ "per_task_uid": true }), Some(&req));
|
analytics.publish("Tasks Seen".to_string(), json!({ "per_task_uid": true }), Some(&req));
|
||||||
|
|
||||||
let query = index_scheduler::Query {
|
let query = index_scheduler::Query { uid: Some(vec![task_id]), ..Query::default() };
|
||||||
uid: Some(vec![task_id]),
|
|
||||||
..Query::default()
|
|
||||||
};
|
|
||||||
|
|
||||||
if let Some(task) = index_scheduler
|
if let Some(task) = index_scheduler
|
||||||
.get_tasks_from_authorized_indexes(
|
.get_tasks_from_authorized_indexes(
|
||||||
|
Loading…
Reference in New Issue
Block a user