mirror of
https://github.com/skidoodle/albert.lol.git
synced 2025-02-15 06:09:15 +01:00
upgrade spotify-now-playing
This commit is contained in:
parent
63c89ca5d1
commit
a40092da92
3 changed files with 236 additions and 229 deletions
|
@ -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,
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue