Cosmetic change

This commit is contained in:
Antoine Gersant 2024-07-13 11:09:20 -07:00
parent 6884548cd0
commit 138886e55c

View file

@ -72,7 +72,6 @@ impl Manager {
}
}
// Create playlist
let mut connection = self.db.connect().await?;
// Find owner
@ -81,6 +80,7 @@ impl Manager {
.await?
.ok_or(Error::UserNotFound)?;
// Create playlist
sqlx::query!(
"INSERT INTO playlists (owner, name) VALUES($1, $2)",
user_id,