aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/controllers/api/videos/import.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/videos/import.ts b/server/controllers/api/videos/import.ts
index fb9d73140..f4630375e 100644
--- a/server/controllers/api/videos/import.ts
+++ b/server/controllers/api/videos/import.ts
@@ -231,7 +231,7 @@ function buildVideo (channelId: number, body: VideoImportCreate, importData: You
231 privacy: body.privacy || VideoPrivacy.PRIVATE, 231 privacy: body.privacy || VideoPrivacy.PRIVATE,
232 duration: 0, // duration will be set by the import job 232 duration: 0, // duration will be set by the import job
233 channelId: channelId, 233 channelId: channelId,
234 originallyPublishedAt: importData.originallyPublishedAt 234 originallyPublishedAt: body.originallyPublishedAt || importData.originallyPublishedAt
235 } 235 }
236 const video = new VideoModel(videoData) 236 const video = new VideoModel(videoData)
237 video.url = getVideoActivityPubUrl(video) 237 video.url = getVideoActivityPubUrl(video)