From 72c1aef1c44d3b694ccd1000d289df411951da49 Mon Sep 17 00:00:00 2001 From: washbin <76929116+washbin@users.noreply.github.com> Date: Tue, 11 Oct 2022 19:36:04 +0545 Subject: [PATCH] fix: add handle dumpCreation query on tasks request --- meilisearch-http/src/routes/tasks.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/meilisearch-http/src/routes/tasks.rs b/meilisearch-http/src/routes/tasks.rs index 50902485b..c630bae90 100644 --- a/meilisearch-http/src/routes/tasks.rs +++ b/meilisearch-http/src/routes/tasks.rs @@ -44,6 +44,7 @@ fn task_type_matches_content(type_: &TaskType, content: &TaskContent) -> bool { | (TaskType::DocumentAdditionOrUpdate, TaskContent::DocumentAddition { .. }) | (TaskType::DocumentDeletion, TaskContent::DocumentDeletion{ .. }) | (TaskType::SettingsUpdate, TaskContent::SettingsUpdate { .. }) + | (TaskType::DumpCreation, TaskContent::Dump { .. }) ) }