aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-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 }