Remove unnecessary await

pull/4161/head
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
1 changed files with 1 additions and 1 deletions

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)