forked from Skynet/discord-bot
fmt: remove an unneeded unwrap (?)
This commit is contained in:
parent
8d1c6b1bd1
commit
4998dba225
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue