From 897ab0807f7beac5c1955ed845dab044b1926e8c Mon Sep 17 00:00:00 2001 From: neon_arch Date: Tue, 11 Jul 2023 19:43:32 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20fix=20the=20argument=20type?= =?UTF-8?q?=20used?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/routes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/routes.rs b/src/server/routes.rs index 9234d8d..ae511b6 100644 --- a/src/server/routes.rs +++ b/src/server/routes.rs @@ -128,7 +128,7 @@ pub async fn search( } Err(_) => { 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()); redis_cache .cache_results(serde_json::to_string(&results_json)?, &page_url)?;