aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video-format-utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/video/video-format-utils.ts')
-rw-r--r--server/models/video/video-format-utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/video/video-format-utils.ts b/server/models/video/video-format-utils.ts
index 0b0da4181..e7bff2ed7 100644
--- a/server/models/video/video-format-utils.ts
+++ b/server/models/video/video-format-utils.ts
@@ -128,7 +128,7 @@ function videoModelToFormattedDetailsJSON (video: VideoModel): VideoDetails {
128 account: video.VideoChannel.Account.toFormattedJSON(), 128 account: video.VideoChannel.Account.toFormattedJSON(),
129 tags, 129 tags,
130 commentsEnabled: video.commentsEnabled, 130 commentsEnabled: video.commentsEnabled,
131 downloadingEnabled: video.downloadingEnabled, 131 downloadEnabled: video.downloadEnabled,
132 waitTranscoding: video.waitTranscoding, 132 waitTranscoding: video.waitTranscoding,
133 state: { 133 state: {
134 id: video.state, 134 id: video.state,
@@ -260,7 +260,7 @@ function videoModelToActivityPubObject (video: VideoModel): VideoTorrentObject {
260 waitTranscoding: video.waitTranscoding, 260 waitTranscoding: video.waitTranscoding,
261 state: video.state, 261 state: video.state,
262 commentsEnabled: video.commentsEnabled, 262 commentsEnabled: video.commentsEnabled,
263 downloadingEnabled: video.downloadingEnabled, 263 downloadEnabled: video.downloadEnabled,
264 published: video.publishedAt.toISOString(), 264 published: video.publishedAt.toISOString(),
265 updated: video.updatedAt.toISOString(), 265 updated: video.updatedAt.toISOString(),
266 mediaType: 'text/markdown', 266 mediaType: 'text/markdown',