diff --git a/meilisearch-http/src/routes/tasks.rs b/meilisearch-http/src/routes/tasks.rs index 85f833c36..f2d759276 100644 --- a/meilisearch-http/src/routes/tasks.rs +++ b/meilisearch-http/src/routes/tasks.rs @@ -86,7 +86,7 @@ pub struct DetailsView { #[serde(skip_serializing_if = "Option::is_none")] pub primary_key: Option>, #[serde(skip_serializing_if = "Option::is_none")] - pub received_document_ids: Option, + pub matched_documents: Option, #[serde(skip_serializing_if = "Option::is_none")] pub deleted_documents: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -126,7 +126,7 @@ impl From
for DetailsView { matched_documents: received_document_ids, deleted_documents, } => DetailsView { - received_document_ids: Some(received_document_ids), + matched_documents: Some(received_document_ids), deleted_documents: Some(deleted_documents), ..DetailsView::default() },