fix: render artistId in track types

fixes #170
This commit is contained in:
sentriz
2021-11-12 20:14:57 +00:00
parent 870bec7d56
commit 7ec6440ed2
4 changed files with 8 additions and 1 deletions

View File

@@ -82,6 +82,7 @@ func (c *Controller) ServeGetMusicDirectory(r *http.Request) *spec.Response {
c.DB.
Where("album_id=?", id.Value).
Preload("Album").
Preload("Album.TagArtist").
Order("filename").
Find(&childTracks)
for _, c := range childTracks {