add more detail to credits on /api/v1/artist/{id}

This commit is contained in:
ari melody 2024-11-01 19:15:19 +00:00
parent 9602918a1a
commit f0d29126ab
Signed by: ari
GPG key ID: CF99829C92678188
6 changed files with 41 additions and 21 deletions

View file

@ -25,7 +25,7 @@ func serveArtist() http.Handler {
return
}
credits, err := music.GetArtistCredits(global.DB, artist.ID)
credits, err := music.GetArtistCredits(global.DB, artist.ID, true)
if err != nil {
fmt.Printf("Error rendering admin track page for %s: %s\n", id, err)
http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError)