upgrade spotify-now-playing

This commit is contained in:
skidoodle 2022-11-13 20:52:16 +01:00
parent 63c89ca5d1
commit a40092da92
3 changed files with 236 additions and 229 deletions

View file

@ -15,9 +15,9 @@ export default async function Spotify(req: NextApiRequest, res: NextApiResponse)
res.status(200).json({
nowplaying: true,
song: {
artist: song.artist.name,
artist: song.artists.name,
title: song.title,
url: song.externalUrl,
url: song.url,
}
});
}