aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/video-import.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-09-16 09:37:07 +0200
committerChocobozzz <me@florianbigard.com>2022-09-16 09:37:07 +0200
commit3204f4d17dec79413a94eae8a71b72e0c7ec7ba5 (patch)
treeb6f5a2c3d6e55676972e671fb0ef429a7bdd975b /server/lib/video-import.ts
parentc95fbe65530191d7be22341815ecb743c139396f (diff)
downloadPeerTube-3204f4d17dec79413a94eae8a71b72e0c7ec7ba5.tar.gz
PeerTube-3204f4d17dec79413a94eae8a71b72e0c7ec7ba5.tar.zst
PeerTube-3204f4d17dec79413a94eae8a71b72e0c7ec7ba5.zip
Fix sync import of latest videos
Diffstat (limited to 'server/lib/video-import.ts')
-rw-r--r--server/lib/video-import.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/video-import.ts b/server/lib/video-import.ts
index de95116aa..d9da09040 100644
--- a/server/lib/video-import.ts
+++ b/server/lib/video-import.ts
@@ -125,7 +125,7 @@ async function buildVideoFromImport ({ channelId, importData, importDataOverride
125 channelId, 125 channelId,
126 originallyPublishedAt: importDataOverride?.originallyPublishedAt 126 originallyPublishedAt: importDataOverride?.originallyPublishedAt
127 ? new Date(importDataOverride?.originallyPublishedAt) 127 ? new Date(importDataOverride?.originallyPublishedAt)
128 : importData.originallyPublishedAt 128 : importData.originallyPublishedAtWithoutTime
129 } 129 }
130 130
131 videoData = await Hooks.wrapObject( 131 videoData = await Hooks.wrapObject(