]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/redundancy/video-redundancy.ts
AP mimeType -> mediaType
[github/Chocobozzz/PeerTube.git] / server / models / redundancy / video-redundancy.ts
index 2ebe23ef163533d638fc74dfa8ec0613fb95cdf4..cbfc7f7fa085c5ef75e3049cd070c8de73f37348 100644 (file)
@@ -408,6 +408,7 @@ export class VideoRedundancyModel extends Model<VideoRedundancyModel> {
       url: {
         type: 'Link',
         mimeType: VIDEO_EXT_MIMETYPE[ this.VideoFile.extname ] as any,
+        mediaType: VIDEO_EXT_MIMETYPE[ this.VideoFile.extname ] as any,
         href: this.fileUrl,
         height: this.VideoFile.resolution,
         size: this.VideoFile.size,