mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
implement list all updates
This commit is contained in:
parent
c2282ab5cb
commit
a9c7b73744
4 changed files with 80 additions and 40 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue