fix
This commit is contained in:
parent
8d352838e8
commit
60869448e6
1 changed files with 2 additions and 3 deletions
|
@ -128,15 +128,14 @@ impl Track {
|
|||
let meta = map.get("meta");
|
||||
|
||||
sqlx::query(
|
||||
"UPDATE track SET artist = $1, album = $2, title = $3, meta = $4 WHERE id = $5;
|
||||
",
|
||||
"UPDATE track SET artist = $1, album = $2, title = $3, meta = $4 WHERE id = $5",
|
||||
)
|
||||
.bind(artist)
|
||||
.bind(album)
|
||||
.bind(title)
|
||||
.bind(meta)
|
||||
.bind(self.id)
|
||||
.fetch_one(get_pg!())
|
||||
.execute(get_pg!())
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
|
|
Loading…
Reference in a new issue