From e54bd458c1eec9a23730b3cc3c926568f3b02186 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 15 Jun 2021 08:36:39 +0200 Subject: Remove unnecessary await --- server/lib/activitypub/videos/shared/creator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/lib/activitypub') diff --git a/server/lib/activitypub/videos/shared/creator.ts b/server/lib/activitypub/videos/shared/creator.ts index 767bf0695..ad3b88936 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) -- cgit v1.2.3