This commit is contained in:
JMARyA 2024-08-02 21:14:55 +02:00
parent 33e23eaba0
commit b4ad40f64f
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -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,