feat: wire real wrapup adapters into presentation + worker

This commit is contained in:
2026-06-02 22:19:29 +02:00
parent 5a15bea3d4
commit ea43911984
4 changed files with 16 additions and 4 deletions

View File

@@ -92,8 +92,8 @@ async fn main() -> anyhow::Result<()> {
social_query: fed_social_query,
#[cfg(not(feature = "federation"))]
social_query: Arc::new(domain::testing::NoopSocialQueryPort),
wrapup_stats: Arc::new(domain::testing::PanicWrapUpStatsQuery) as Arc<dyn domain::ports::WrapUpStatsQuery>,
wrapup_repo: Arc::new(domain::testing::PanicWrapUpRepository) as Arc<dyn domain::ports::WrapUpRepository>,
wrapup_stats: db.wrapup_stats,
wrapup_repo: db.wrapup_repo,
},
services: Services {
auth: auth_service,