diff options
Diffstat (limited to 'server/lib/activitypub/videos.ts')
-rw-r--r-- | server/lib/activitypub/videos.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/videos.ts b/server/lib/activitypub/videos.ts index 1d2d46cbc..263c2629c 100644 --- a/server/lib/activitypub/videos.ts +++ b/server/lib/activitypub/videos.ts | |||
@@ -163,7 +163,7 @@ async function getOrCreateVideo (videoObject: VideoTorrentObject, channelActor: | |||
163 | throw new Error('Cannot find valid files for video %s ' + videoObject.url) | 163 | throw new Error('Cannot find valid files for video %s ' + videoObject.url) |
164 | } | 164 | } |
165 | 165 | ||
166 | const tasks: Bluebird<any>[] = videoFileAttributes.map(f => VideoFileModel.create(f, { transaction: t })) | 166 | const tasks = videoFileAttributes.map(f => VideoFileModel.create(f, { transaction: t })) |
167 | await Promise.all(tasks) | 167 | await Promise.all(tasks) |
168 | 168 | ||
169 | const tags = videoObject.tag.map(t => t.name) | 169 | const tags = videoObject.tag.map(t => t.name) |