Removed unneccesary result from main func

This commit is contained in:
franklinblanco 2022-08-12 20:14:07 -04:00
parent 5b86b21734
commit 0574c59006
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ use dao::{main_dao::{self, run_all_migrations}};
#[tokio::main]
async fn main() -> Result<(), std::io::Error> {
async fn main(){
// Retrieve env variables and send to services that need them.
let env_vars = env_util::get_dot_env_map();
@ -29,6 +29,6 @@ async fn main() -> Result<(), std::io::Error> {
let shared_state_obj = SharedStateObj {db_conn, env_vars };
// Pass shared state to server and start it
start_all_routes(&after_startup_fn, shared_state_obj).await
start_all_routes(&after_startup_fn, shared_state_obj).await.unwrap();
}