aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/video-import.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-10 11:51:13 +0200
committerChocobozzz <me@florianbigard.com>2022-08-10 14:32:00 +0200
commita3b472a12ec6e57dbe2f650419f8064864686eab (patch)
treef36559488e34493c029b686772e986902150a647 /server/lib/video-import.ts
parent0567049a9819d67070aa6d548a75a7e632a4aaa4 (diff)
downloadPeerTube-a3b472a12ec6e57dbe2f650419f8064864686eab.tar.gz
PeerTube-a3b472a12ec6e57dbe2f650419f8064864686eab.tar.zst
PeerTube-a3b472a12ec6e57dbe2f650419f8064864686eab.zip
Add ability to list imports of a channel sync
Diffstat (limited to 'server/lib/video-import.ts')
-rw-r--r--server/lib/video-import.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/lib/video-import.ts b/server/lib/video-import.ts
index fb9306967..de95116aa 100644
--- a/server/lib/video-import.ts
+++ b/server/lib/video-import.ts
@@ -206,7 +206,8 @@ async function buildYoutubeDLImport (options: {
206 videoImportAttributes: { 206 videoImportAttributes: {
207 targetUrl, 207 targetUrl,
208 state: VideoImportState.PENDING, 208 state: VideoImportState.PENDING,
209 userId: user.id 209 userId: user.id,
210 videoChannelSyncId: channelSync?.id
210 } 211 }
211 }) 212 })
212 213