diff --git a/src/keywords.rs b/src/keywords.rs index 3539fda..4b41251 100644 --- a/src/keywords.rs +++ b/src/keywords.rs @@ -5,7 +5,7 @@ use serde::{Deserialize, Serialize}; #[derive(Debug, Clone, Deserialize, Serialize)] pub struct KeywordSection { pub threshold: u64, - pub required: Vec, + pub requiredKeywords: Vec, pub keywords: Vec, } @@ -27,7 +27,7 @@ impl KeywordSection { } } - for rkw in self.required.to_owned() { + for rkw in self.requiredKeywords.to_owned() { if s.contains(&rkw) { hits += 1; hit_required = true;