fmt: remove an unneeded unwrap (?)

This commit is contained in:
silver 2024-09-17 21:40:38 +01:00
parent 8d1c6b1bd1
commit 4998dba225
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -311,7 +311,7 @@ pub async fn db_init(config: &Config) -> Result<Pool<Sqlite>, Error> {
.await?; .await?;
// migrations are amazing! // migrations are amazing!
sqlx::migrate!("./db/migrations").run(&pool).await.unwrap(); sqlx::migrate!("./db/migrations").run(&pool).await?;
Ok(pool) Ok(pool)
} }