aboutsummaryrefslogtreecommitdiff
path: root/src/subs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/subs.rs')
-rw-r--r--src/subs.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/subs.rs b/src/subs.rs
index a8bde65..df8dfd1 100644
--- a/src/subs.rs
+++ b/src/subs.rs
@@ -4,7 +4,7 @@
use std::error::Error;
use crate::{
- api::API,
+ api::Api,
config::Config,
server::{
distributor::Distributor,
@@ -33,7 +33,7 @@ pub async fn run() -> Result<(), Box<dyn Error>> {
.await;
}),
tokio::spawn(async move {
- let _ = API::listen();
+ let _ = Api::listen();
}),
];
for thread in threads {