},
nsfw: video.nsfw,
+ truncatedDescription: video.getTruncatedDescription(),
description: options && options.completeDescription === true
? video.description
: video.getTruncatedDescription(),
const span = tracer.startSpan('peertube.VideoModel.toFormattedDetailsJSON')
const videoJSON = video.toFormattedJSON({
+ completeDescription: true,
additionalAttributes: {
scheduledUpdate: true,
blacklistInfo: true,