diff --git a/server/service/src/main.rs b/server/service/src/main.rs index 20c3734..c9294a6 100644 --- a/server/service/src/main.rs +++ b/server/service/src/main.rs @@ -93,7 +93,7 @@ fn search_query( ) -> Result { let q = query.q.trim(); - if q.is_empty() || q.len() < 3 { + if q.is_empty() || q.len() < 3 || q == "2020" { return Err(format_err!("{{\"error\": \"{}\"}}", "Empty query".to_string())); }