Skip to content

Commit

Permalink
Modified src/app.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcclung committed Mar 6, 2024
1 parent 45e09e2 commit 68051ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub struct Application {
server: Server,
}

impl<'a> Application {
impl Application {
pub async fn build(config: &Config, addr: String) -> Result<Self> {
let pool = PgPoolOptions::new().connect(&config.db_config.url).await?;
sqlx::migrate!().run(&pool).await?;
Expand Down

0 comments on commit 68051ea

Please sign in to comment.