aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/utils/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-03-05 11:30:43 +0100
committerChocobozzz <chocobozzz@cpy.re>2019-03-18 11:17:59 +0100
commit09979f8959425390b879bce22101a9bc061ae9a0 (patch)
treea128a50b7c58c070e4b7af44028dfaa03e2d2ef1 /shared/utils/videos
parentdf0b219d36bf6852cdf2a7ad09ed4a41c6bccefa (diff)
downloadPeerTube-09979f8959425390b879bce22101a9bc061ae9a0.tar.gz
PeerTube-09979f8959425390b879bce22101a9bc061ae9a0.tar.zst
PeerTube-09979f8959425390b879bce22101a9bc061ae9a0.zip
Refactor video playlist middlewares
Diffstat (limited to 'shared/utils/videos')
-rw-r--r--shared/utils/videos/videos.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/shared/utils/videos/videos.ts b/shared/utils/videos/videos.ts
index 16b5165f1..54c6bccec 100644
--- a/shared/utils/videos/videos.ts
+++ b/shared/utils/videos/videos.ts
@@ -608,7 +608,6 @@ async function uploadVideoAndGetId (options: { server: ServerInfo, videoName: st
608 const videoAttrs: any = { name: options.videoName } 608 const videoAttrs: any = { name: options.videoName }
609 if (options.nsfw) videoAttrs.nsfw = options.nsfw 609 if (options.nsfw) videoAttrs.nsfw = options.nsfw
610 610
611
612 const res = await uploadVideo(options.server.url, options.token || options.server.accessToken, videoAttrs) 611 const res = await uploadVideo(options.server.url, options.token || options.server.accessToken, videoAttrs)
613 612
614 return { id: res.body.video.id, uuid: res.body.video.uuid } 613 return { id: res.body.video.id, uuid: res.body.video.uuid }