✨ feat: fix the argument type used
This commit is contained in:
parent
f9b9e87a0e
commit
897ab0807f
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ pub async fn search(
|
||||||
}
|
}
|
||||||
Err(_) => {
|
Err(_) => {
|
||||||
let mut results_json: crate::search_results_handler::aggregation_models::SearchResults =
|
let mut results_json: crate::search_results_handler::aggregation_models::SearchResults =
|
||||||
aggregate(query, page, config.aggregator.random_delay, config.debug).await?;
|
aggregate(query.clone(), page, config.aggregator.random_delay, config.debug, config.upstream_search_engines.clone()).await?;
|
||||||
results_json.add_style(config.style.clone());
|
results_json.add_style(config.style.clone());
|
||||||
redis_cache
|
redis_cache
|
||||||
.cache_results(serde_json::to_string(&results_json)?, &page_url)?;
|
.cache_results(serde_json::to_string(&results_json)?, &page_url)?;
|
||||||
|
|
Loading…
Add table
Reference in a new issue