mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
improve the way we access the mutex
This commit is contained in:
parent
4abcd9c04e
commit
b906e3ed70
34 changed files with 155 additions and 155 deletions
|
@ -42,7 +42,7 @@ async fn get_batch(
|
|||
let task_view = BatchView::from_batch(batch);
|
||||
Ok(HttpResponse::Ok().json(task_view))
|
||||
} else {
|
||||
Err(index_scheduler::Error::TaskNotFound(batch_uid).into())
|
||||
Err(index_scheduler::Error::BatchNotFound(batch_uid).into())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue