category: body.category || importData.category,
licence: body.licence || importData.licence,
language: body.language || undefined,
- commentsEnabled: body.commentsEnabled || true,
- downloadEnabled: body.downloadEnabled || true,
+ commentsEnabled: body.commentsEnabled && true,
+ downloadEnabled: body.downloadEnabled && true,
waitTranscoding: body.waitTranscoding || false,
state: VideoState.TO_IMPORT,
nsfw: body.nsfw || importData.nsfw || false,