Skip to content

Commit

Permalink
formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Nov 11, 2023
1 parent 0ae8ac1 commit b6bb6b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/calendar/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async fn health_status_handler() -> HttpResponse {

pub const MIGRATIONS: EmbeddedMigrations = embed_migrations!("migrations");

fn apply_db_migrations() -> Result<(),Box<dyn Error + Send + Sync>> {
fn apply_db_migrations() -> Result<(), Box<dyn Error + Send + Sync>> {
info!("Applying database migrations");
let con = &mut utils::establish_connection();
con.run_pending_migrations(MIGRATIONS)?;
Expand All @@ -37,7 +37,7 @@ fn apply_db_migrations() -> Result<(),Box<dyn Error + Send + Sync>> {
}

#[tokio::main]
async fn main() -> Result<(),Box<dyn Error + Send + Sync>> {
async fn main() -> Result<(), Box<dyn Error + Send + Sync>> {
Builder::with_level("info")
.with_target_writer("*", new_writer(tokio::io::stdout()))
.init();
Expand Down

0 comments on commit b6bb6b3

Please sign in to comment.