diff options
Diffstat (limited to 'server/models/video/video-import.ts')
-rw-r--r-- | server/models/video/video-import.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/models/video/video-import.ts b/server/models/video/video-import.ts index 9d1f783c7..8d442b3f8 100644 --- a/server/models/video/video-import.ts +++ b/server/models/video/video-import.ts | |||
@@ -146,12 +146,11 @@ export class VideoImportModel extends Model<VideoImportModel> { | |||
146 | 146 | ||
147 | toFormattedJSON (): VideoImport { | 147 | toFormattedJSON (): VideoImport { |
148 | const videoFormatOptions = { | 148 | const videoFormatOptions = { |
149 | completeDescription: true, | ||
149 | additionalAttributes: { state: true, waitTranscoding: true, scheduledUpdate: true } | 150 | additionalAttributes: { state: true, waitTranscoding: true, scheduledUpdate: true } |
150 | } | 151 | } |
151 | const video = this.Video | 152 | const video = this.Video |
152 | ? Object.assign(this.Video.toFormattedJSON(videoFormatOptions), { | 153 | ? Object.assign(this.Video.toFormattedJSON(videoFormatOptions), { tags: this.Video.Tags.map(t => t.name) }) |
153 | tags: this.Video.Tags.map(t => t.name) | ||
154 | }) | ||
155 | : undefined | 154 | : undefined |
156 | 155 | ||
157 | return { | 156 | return { |