Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Prince527GitHub committed Feb 23, 2024
1 parent 6996f57 commit 98691bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ app.get("/rest/getLyrics.view", async(req, res) => {
const body = {
trackhash: track.trackhash,
title: track.title,
artist: track.albumartists[0]?.name || "",
artist: track.albumartists[0]?.name || track.artists[0]?.name || "",
filepath: track.filepath,
album: track.album
};
Expand Down

0 comments on commit 98691bc

Please sign in to comment.