From 4d9c8bea3083b9fc01a4f6ab0d5a520f887f6c56 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Fri, 19 Aug 2022 08:55:11 +0000 Subject: [PATCH] bug fixed --- src/main.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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(), )?;