mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-25 22:34:28 +01:00
Merge #2890
2890: fix: add handle dumpCreation query on tasks request r=Kerollmops a=washbin # Pull Request ## Related issue Fixes #2874 ## What does this PR do? - add missing `DumpCreation` type in tasks route ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Co-authored-by: washbin <76929116+washbin@users.noreply.github.com>
This commit is contained in:
commit
343828a76e
@ -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 { .. })
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user