mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-10-25 04:56:28 +00:00
implement list all updates
This commit is contained in:
@@ -154,7 +154,7 @@ async fn get_all_updates_status(
|
||||
data: web::Data<Data>,
|
||||
path: web::Path<IndexParam>,
|
||||
) -> Result<HttpResponse, ResponseError> {
|
||||
let result = data.get_updates_status(&path.index_uid);
|
||||
let result = data.get_updates_status(&path.index_uid).await;
|
||||
match result {
|
||||
Ok(metas) => {
|
||||
let json = serde_json::to_string(&metas).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user