i hate this

This commit is contained in:
localhost 2023-08-02 16:51:19 +02:00
parent fb1487e960
commit 74ecd7f219
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ async function createDatabaseVideo(id, videoUrl, playlistId) {
const channelData = await metadata.getChannel(data.authorId)
const uploaderAvatar = await upload.uploadImage(data.authorId, channelData.authorThumbnails[1].url)
const thumbnailUrl = await upload.uploadImage(id, data.videoThumbnails.find(o => o.quality == 'maxresdefault').url)
const thumbnailUrl = await upload.uploadImage(id, data.videoThumbnails[0].url)
await prisma.videos.create({
data: {