neon_arch commited on
Commit
897ab08
1 Parent(s): f9b9e87

✨ feat: fix the argument type used

Browse files
Files changed (1) hide show
  1. src/server/routes.rs +1 -1
src/server/routes.rs CHANGED
@@ -128,7 +128,7 @@ pub async fn search(
128
  }
129
  Err(_) => {
130
  let mut results_json: crate::search_results_handler::aggregation_models::SearchResults =
131
- aggregate(query, page, config.aggregator.random_delay, config.debug).await?;
132
  results_json.add_style(config.style.clone());
133
  redis_cache
134
  .cache_results(serde_json::to_string(&results_json)?, &page_url)?;
 
128
  }
129
  Err(_) => {
130
  let mut results_json: crate::search_results_handler::aggregation_models::SearchResults =
131
+ aggregate(query.clone(), page, config.aggregator.random_delay, config.debug, config.upstream_search_engines.clone()).await?;
132
  results_json.add_style(config.style.clone());
133
  redis_cache
134
  .cache_results(serde_json::to_string(&results_json)?, &page_url)?;