]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/video-import.ts
Add ability to list imports of a channel sync
[github/Chocobozzz/PeerTube.git] / server / lib / video-import.ts
index fb9306967fcd3c707be73bee18a5da8119ba0d61..de95116aa6d06cb1b495b19c0536801d9f7ddf0a 100644 (file)
@@ -206,7 +206,8 @@ async function buildYoutubeDLImport (options: {
     videoImportAttributes: {
       targetUrl,
       state: VideoImportState.PENDING,
-      userId: user.id
+      userId: user.id,
+      videoChannelSyncId: channelSync?.id
     }
   })