Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Remove unnecessary await

Chocobozzze54bd458c1ee
diff --git a/server/lib/activitypub/videos/shared/creator.ts b/server/lib/activitypub/videos/shared/creator.ts
index 767bf06952..ad3b889364 100644
--- a/server/lib/activitypub/videos/shared/creator.ts
+++ b/server/lib/activitypub/videos/shared/creator.ts
@@ -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)