chore: debug
This commit is contained in:
parent
3e0a18e0cb
commit
47adec9027
1 changed files with 2 additions and 0 deletions
|
@ -145,6 +145,8 @@ export default async (request) => {
|
||||||
timestamp,
|
timestamp,
|
||||||
genre: artistInfo?.['genre'] || ''
|
genre: artistInfo?.['genre'] || ''
|
||||||
}
|
}
|
||||||
|
console.log(artistInfo)
|
||||||
|
console.log(artistInfo?.['genre'])
|
||||||
const scrobbleData = await scrobbles.get(`${weekKey()}`, { type: 'json'})
|
const scrobbleData = await scrobbles.get(`${weekKey()}`, { type: 'json'})
|
||||||
const windowData = await scrobbles.get('window', { type: 'json'})
|
const windowData = await scrobbles.get('window', { type: 'json'})
|
||||||
await scrobbles.setJSON('now-playing', {...trackScrobbleData, ...{ url: `https://musicbrainz.org/artist/${artistInfo?.['mbid']}`}})
|
await scrobbles.setJSON('now-playing', {...trackScrobbleData, ...{ url: `https://musicbrainz.org/artist/${artistInfo?.['mbid']}`}})
|
||||||
|
|
Reference in a new issue