]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/videos/shared/creator.ts
Fix user subscription follows count
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / videos / shared / creator.ts
index 767bf06952e347dc31db0e233cfafc8684c7b433..ad3b889364ad40c56e640582ac955629f5a35c72 100644 (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)