From 20589a41b5fa0590b6a9511e01ef5fed3e46000d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaras=C5=82a=C5=AD=20Viktor=C4=8Dyk?= Date: Sat, 1 Oct 2022 21:59:20 +0200 Subject: [PATCH] Rename receivedDocumentIds into matchedDocuments Changes DocumentDeletion task details response. --- meilisearch-http/src/task.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meilisearch-http/src/task.rs b/meilisearch-http/src/task.rs index fe23720aa..786d318f8 100644 --- a/meilisearch-http/src/task.rs +++ b/meilisearch-http/src/task.rs @@ -147,7 +147,7 @@ enum TaskDetails { IndexInfo { primary_key: Option }, #[serde(rename_all = "camelCase")] DocumentDeletion { - received_document_ids: usize, + matched_documents: usize, deleted_documents: Option, }, #[serde(rename_all = "camelCase")] @@ -255,7 +255,7 @@ impl From for TaskView { } => ( TaskType::DocumentDeletion, Some(TaskDetails::DocumentDeletion { - received_document_ids: ids.len(), + matched_documents: ids.len(), deleted_documents: None, }), ),