From 12669bf07cf30c7987d2daa317399c6940c36f30 Mon Sep 17 00:00:00 2001 From: Irevoire Date: Tue, 25 Oct 2022 12:06:01 +0200 Subject: [PATCH] rename received_documents_ids to matched_documents --- meilisearch-http/src/routes/tasks.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() },