diff options
Diffstat (limited to 'client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.ts')
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.ts index caa7af90a..01087e525 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.ts +++ b/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.ts | |||
@@ -76,7 +76,7 @@ export class VideoImportTorrentComponent extends VideoSend implements OnInit, Ca | |||
76 | this.isImportingVideo = true | 76 | this.isImportingVideo = true |
77 | 77 | ||
78 | const videoUpdate: VideoUpdate = { | 78 | const videoUpdate: VideoUpdate = { |
79 | privacy: this.firstStepPrivacyId, | 79 | privacy: VideoPrivacy.PRIVATE, |
80 | waitTranscoding: false, | 80 | waitTranscoding: false, |
81 | commentsEnabled: true, | 81 | commentsEnabled: true, |
82 | downloadEnabled: true, | 82 | downloadEnabled: true, |
@@ -95,6 +95,7 @@ export class VideoImportTorrentComponent extends VideoSend implements OnInit, Ca | |||
95 | this.video = new VideoEdit(Object.assign(res.video, { | 95 | this.video = new VideoEdit(Object.assign(res.video, { |
96 | commentsEnabled: videoUpdate.commentsEnabled, | 96 | commentsEnabled: videoUpdate.commentsEnabled, |
97 | downloadEnabled: videoUpdate.downloadEnabled, | 97 | downloadEnabled: videoUpdate.downloadEnabled, |
98 | privacy: { id: this.firstStepPrivacyId }, | ||
98 | support: null, | 99 | support: null, |
99 | thumbnailUrl: null, | 100 | thumbnailUrl: null, |
100 | previewUrl: null | 101 | previewUrl: null |