refactor: move ap_service from AppState to AppContext.Services

This commit is contained in:
2026-07-10 15:34:23 +02:00
parent 322e9ee81a
commit 3ee75305a9
7 changed files with 21 additions and 19 deletions

View File

@@ -60,6 +60,8 @@ pub struct Services {
pub document_parser: Arc<dyn DocumentParser>,
pub review_logger: Arc<dyn ReviewLogger>,
pub person_enrichment: Option<Arc<dyn PersonEnrichmentClient>>,
#[cfg(feature = "federation")]
pub ap_service: Arc<dyn activitypub::ActivityPubPort>,
}
#[derive(Clone)]