title is now also part of the whole process
This commit is contained in:
@@ -55,7 +55,7 @@ async fn app_state() -> AppState {
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let app_state = app_state().await;
|
||||
app_state.scheduler.start();
|
||||
app_state.scheduler.start().await;
|
||||
start_axum_server(app_state).await;
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user