refactor(search): scoped Arc dep instead of AppContext

This commit is contained in:
2026-06-11 21:32:19 +02:00
parent 20ac0d3adf
commit 2b295e10ba
3 changed files with 9 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ pub async fn get_search(
},
};
match search_uc::execute(&state.app_ctx, query).await {
match search_uc::execute(state.app_ctx.repos.search_port.clone(), query).await {
Ok(results) => axum::Json(SearchResponse {
movies: PaginatedMovieHits {
items: results