fix: fetch
This commit is contained in:
parent
982e479812
commit
3bb541bb67
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ export const onPreBuild = async ({ constants }) => {
|
|||
const scrobbles = getStore('scrobbles')
|
||||
const artists = getStore('artists')
|
||||
const albums = getStore('albums')
|
||||
const weeklyChartData = await scrobbles.get(`${lastWeek.year}-${lastWeek.weekNumber}`)
|
||||
const weeklyChartData = await scrobbles.get(`${lastWeek.year}-${lastWeek.weekNumber}`, { type: 'json'})
|
||||
const windowData = await scrobbles.get('window', { type: 'json'})
|
||||
const artistsMap = await artists.get('artists-map', { type: 'json' })
|
||||
const albumsMap = await albums.get('albums-map', { type: 'json' })
|
||||
|
|
Reference in a new issue