diff --git a/affinidi-messaging-mediator/src/main.rs b/affinidi-messaging-mediator/src/main.rs index 6b9c49a..c33ee7c 100644 --- a/affinidi-messaging-mediator/src/main.rs +++ b/affinidi-messaging-mediator/src/main.rs @@ -1,6 +1,6 @@ -use affinidi_messaging_mediator::{server::start}; +use affinidi_messaging_mediator::server::start; #[tokio::main] async fn main() { - return start().await + return start().await; } diff --git a/affinidi-messaging-mediator/src/server.rs b/affinidi-messaging-mediator/src/server.rs index 26d17c5..d9bd3bd 100644 --- a/affinidi-messaging-mediator/src/server.rs +++ b/affinidi-messaging-mediator/src/server.rs @@ -1,12 +1,12 @@ -use affinidi_did_resolver_cache_sdk::DIDCacheClient; use crate::{ database::DatabaseHandler, handlers::{application_routes, health_checker_handler}, init, + tasks::statistics::statistics, tasks::websocket_streaming::StreamingTask, SharedData, - tasks::statistics::statistics, }; +use affinidi_did_resolver_cache_sdk::DIDCacheClient; use axum::{routing::get, Router}; use axum_server::tls_rustls::RustlsConfig; use http::Method;