update
This commit is contained in:
parent
33e23eaba0
commit
b4ad40f64f
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ impl ToAPI for Track {
|
|||
json!({
|
||||
"id": self._id,
|
||||
"title": self.title,
|
||||
"track_number": self.meta.as_ref().map(|x| x.track_number()),
|
||||
"meta": serde_json::to_value(&self.meta).unwrap(),
|
||||
"album_id": self.album_id.as_ref().map(|x| x.id().to_string()),
|
||||
"album": album_title,
|
||||
|
|
Loading…
Reference in a new issue