Add name and id to video list

This commit is contained in:
Sam Carlton 2020-12-05 22:07:32 -06:00
parent 6160b78b73
commit 8d954f76f0

View file

@ -43,6 +43,8 @@ export default async function ( applist ) {
} }
videos.push({ videos.push({
name: fetchedVideos[videoId].title,
id: videoId,
apps, apps,
slug, slug,
timestamps: fetchedVideos[videoId].timestamps, timestamps: fetchedVideos[videoId].timestamps,
@ -50,5 +52,7 @@ export default async function ( applist ) {
}) })
} }
// console.log('videos', videos)
return videos return videos
} }