aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video-playlist.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-01-13 14:12:29 +0100
committerChocobozzz <me@florianbigard.com>2022-01-13 14:16:32 +0100
commit3726c3725506d0f8a26ded34f42d7bcfb5d0e639 (patch)
tree1e4ce0d16a0ec4acf6f63ddb4aec6f6f143218d4 /server/models/video/video-playlist.ts
parent696b45deb63bc9f36da9c9ee55c5d4a3a883b87e (diff)
downloadPeerTube-3726c3725506d0f8a26ded34f42d7bcfb5d0e639.tar.gz
PeerTube-3726c3725506d0f8a26ded34f42d7bcfb5d0e639.tar.zst
PeerTube-3726c3725506d0f8a26ded34f42d7bcfb5d0e639.zip
Add missing mediaType info to AP objects
Diffstat (limited to 'server/models/video/video-playlist.ts')
-rw-r--r--server/models/video/video-playlist.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/models/video/video-playlist.ts b/server/models/video/video-playlist.ts
index 0d43c795e..c125db3ff 100644
--- a/server/models/video/video-playlist.ts
+++ b/server/models/video/video-playlist.ts
@@ -679,6 +679,7 @@ export class VideoPlaylistModel extends Model<Partial<AttributesOnly<VideoPlayli
679 type: 'Playlist' as 'Playlist', 679 type: 'Playlist' as 'Playlist',
680 name: this.name, 680 name: this.name,
681 content: this.description, 681 content: this.description,
682 mediaType: 'text/markdown' as 'text/markdown',
682 uuid: this.uuid, 683 uuid: this.uuid,
683 published: this.createdAt.toISOString(), 684 published: this.createdAt.toISOString(),
684 updated: this.updatedAt.toISOString(), 685 updated: this.updatedAt.toISOString(),