fix: add handle dumpCreation query on tasks request

This commit is contained in:
washbin 2022-10-11 19:36:04 +05:45
parent 0f024e7d97
commit 72c1aef1c4

View File

@ -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 { .. })
)
}