Cosmetic change
This commit is contained in:
parent
6884548cd0
commit
138886e55c
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,6 @@ impl Manager {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create playlist
|
|
||||||
let mut connection = self.db.connect().await?;
|
let mut connection = self.db.connect().await?;
|
||||||
|
|
||||||
// Find owner
|
// Find owner
|
||||||
|
@ -81,6 +80,7 @@ impl Manager {
|
||||||
.await?
|
.await?
|
||||||
.ok_or(Error::UserNotFound)?;
|
.ok_or(Error::UserNotFound)?;
|
||||||
|
|
||||||
|
// Create playlist
|
||||||
sqlx::query!(
|
sqlx::query!(
|
||||||
"INSERT INTO playlists (owner, name) VALUES($1, $2)",
|
"INSERT INTO playlists (owner, name) VALUES($1, $2)",
|
||||||
user_id,
|
user_id,
|
||||||
|
|
Loading…
Add table
Reference in a new issue