diff --git a/src/main.rs b/src/main.rs index 21621c7..c989e8a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -104,7 +104,11 @@ async fn main() -> Result<(), Box> { queue_server_broker.clone(), pool.clone(), ); - + let member_referrer_service = services::member_referrer::service::Service::new( + connection_server_broker.clone(), + queue_server_broker.clone(), + pool.clone(), + ); let site_service = services::site::service::Service::new( connection_server_broker.clone(), queue_server_broker.clone(), @@ -128,6 +132,7 @@ async fn main() -> Result<(), Box> { member_bank_withdraw_service.subscribe(), member_class_service.subscribe(), member_level_service.subscribe(), + member_referrer_service.subscribe(), site_service.subscribe(), member_event_handler.subscribe(), )?;