diff --git a/crates/bootstrap/src/factory.rs b/crates/bootstrap/src/factory.rs index a0e7fe3..55306a6 100644 --- a/crates/bootstrap/src/factory.rs +++ b/crates/bootstrap/src/factory.rs @@ -77,6 +77,7 @@ pub async fn build(cfg: &Config) -> Infrastructure { Arc::new(PgActivityPubRepository::new(pool.clone())), &cfg.base_url, Some(event_publisher.clone()), + Arc::new(postgres::tag::PgTagRepository::new(pool.clone())), )), cfg.base_url.clone(), cfg.allow_registration, diff --git a/crates/worker/src/factory.rs b/crates/worker/src/factory.rs index 95b279c..bc43891 100644 --- a/crates/worker/src/factory.rs +++ b/crates/worker/src/factory.rs @@ -49,6 +49,7 @@ pub async fn build(database_url: &str, base_url: &str, nats_url: &str) -> Worker Arc::new(PgActivityPubRepository::new(pool.clone())), base_url, None, + Arc::new(postgres::tag::PgTagRepository::new(pool.clone())), )), base_url.to_string(), false,