chore: update music api
This commit is contained in:
parent
95d003e5a7
commit
75d2b7f693
1 changed files with 0 additions and 2 deletions
|
@ -36,8 +36,6 @@ export default async (request) => {
|
||||||
if (weeksArr.length > 0) {
|
if (weeksArr.length > 0) {
|
||||||
weeksArr.forEach(async (week) => {
|
weeksArr.forEach(async (week) => {
|
||||||
const weekData = await scrobbles.get(week, { type: 'json'})
|
const weekData = await scrobbles.get(week, { type: 'json'})
|
||||||
console.log(week)
|
|
||||||
console.log(week)
|
|
||||||
scrobbleData.push(...weekData['data'])
|
scrobbleData.push(...weekData['data'])
|
||||||
})
|
})
|
||||||
} else if (weeksString) {
|
} else if (weeksString) {
|
||||||
|
|
Reference in a new issue