Skip to content

Commit

Permalink
fix: pass search service instead
Browse files Browse the repository at this point in the history
  • Loading branch information
AcrylicShrimp committed Mar 30, 2024
1 parent c568e5b commit 02321e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ pub fn register_services(
search_service.clone(),
file_driver,
);
let collection_file_pair_service = CollectionFilePairService::new(db_pool.clone());
let collection_file_pair_service =
CollectionFilePairService::new(db_pool.clone(), search_service.clone());
let user_service = UserService::new(db_pool, password_service.clone());
let metric_service = MetricService::new(file_base_path);

Expand Down

0 comments on commit 02321e9

Please sign in to comment.