fix: reutnr error from bot managers dispatcher

This commit is contained in:
Akulij 2025-06-07 02:55:29 +05:00
parent 0c1ab767d3
commit 3c0ae02139

View File

@ -187,7 +187,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
async |_| vec![admin_handler()].into_iter(), async |_| vec![admin_handler()].into_iter(),
); );
bm.dispatch(&mut db).await; bm.dispatch(&mut db).await?;
Ok(())
} }
async fn send_application_to_chat( async fn send_application_to_chat(