From e5bf0cecdd5720b79afcefa2680d6ef0dcbc9a4d Mon Sep 17 00:00:00 2001 From: Austin Date: Mon, 20 Mar 2023 19:08:20 +0000 Subject: [PATCH] cargo fmt --- server/src/main.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/server/src/main.rs b/server/src/main.rs index d28ff2e..784612c 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -201,7 +201,9 @@ async fn create_schema(database_url: String) -> Result<()> { domain::sql_tables::init_table(&sql_pool) .await .context("while creating base tables")?; - infra::jwt_sql_tables::init_table(&sql_pool).await.context("while creating jwt tables")?; + infra::jwt_sql_tables::init_table(&sql_pool) + .await + .context("while creating jwt tables")?; Ok(()) } @@ -212,8 +214,7 @@ fn create_schema_command(opts: RunOpts) -> Result<()> { let database_url = config.database_url; actix::run( - create_schema(database_url) - .unwrap_or_else(|e| error!("Could not create schema: {:#}", e)), + create_schema(database_url).unwrap_or_else(|e| error!("Could not create schema: {:#}", e)), )?; info!("End.");