Fixed unused parameters

This commit is contained in:
2019-06-05 16:18:04 +09:00
parent 8b583d46b9
commit 1c0dc14317
15 changed files with 18 additions and 23 deletions

View File

@ -20,7 +20,7 @@ func Lyrics(ctx aero.Context) error {
return ctx.Error(http.StatusNotFound, "Track not found", err)
}
openGraph := getOpenGraph(ctx, track)
openGraph := getOpenGraph(track)
if track.Lyrics.Native != "" {
openGraph.Tags["og:description"] = utils.CutLongDescription(track.Lyrics.Native)