mirror of https://github.com/FreeTubeApp/FreeTube
Map `videos` property on Invidious API response (#3090)
`invidiousAPICall` is returning an object with a `videos` property here instead of a list.
This commit is contained in:
parent
9484fd3cb2
commit
0f4bf0e87e
|
@ -361,7 +361,7 @@ export default defineComponent({
|
|||
}
|
||||
|
||||
invidiousAPICall(subscriptionsPayload).then(async (result) => {
|
||||
resolve(await Promise.all(result.map((video) => {
|
||||
resolve(await Promise.all(result.videos.map((video) => {
|
||||
video.publishedDate = new Date(video.published * 1000)
|
||||
return video
|
||||
})))
|
||||
|
|
Loading…
Reference in New Issue