1
0
Fork 0

Remove unnecessary await

This commit is contained in:
Chocobozzz 2021-06-15 08:36:39 +02:00
parent 307b3db45e
commit e54bd458c1
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -23,7 +23,7 @@ export class APVideoCreator extends APVideoAbstractBuilder {
const channelActor = await this.getOrCreateVideoChannelFromVideoObject()
const channel = channelActor.VideoChannel
const videoData = await getVideoAttributesFromObject(channel, this.videoObject, this.videoObject.to)
const videoData = getVideoAttributesFromObject(channel, this.videoObject, this.videoObject.to)
const video = VideoModel.build(videoData) as MVideoThumbnail
const promiseThumbnail = this.tryToGenerateThumbnail(video)