Remove unnecessary await
This commit is contained in:
parent
307b3db45e
commit
e54bd458c1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue