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 privacy: body.privacy || VideoPrivacy.PRIVATE, duration: 0, // duration will be set by the import job channelId: channelId, - originallyPublishedAt: importData.originallyPublishedAt + originallyPublishedAt: body.originallyPublishedAt || importData.originallyPublishedAt } const video = new VideoModel(videoData) video.url = getVideoActivityPubUrl(video)