diff options
author | Chocobozzz <me@florianbigard.com> | 2018-10-18 08:48:24 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-10-18 10:44:15 +0200 |
commit | e27ff5da6ed7bc1f56f50f862b80fb0c7d8a6d98 (patch) | |
tree | 81b45623621952bd75efa3f701e5a8bd37a50f03 /server/models/redundancy/video-redundancy.ts | |
parent | 244b4ae3973bc1511464a08158a123767f83179c (diff) | |
download | PeerTube-e27ff5da6ed7bc1f56f50f862b80fb0c7d8a6d98.tar.gz PeerTube-e27ff5da6ed7bc1f56f50f862b80fb0c7d8a6d98.tar.zst PeerTube-e27ff5da6ed7bc1f56f50f862b80fb0c7d8a6d98.zip |
AP mimeType -> mediaType
Diffstat (limited to 'server/models/redundancy/video-redundancy.ts')
-rw-r--r-- | server/models/redundancy/video-redundancy.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/models/redundancy/video-redundancy.ts b/server/models/redundancy/video-redundancy.ts index 2ebe23ef1..cbfc7f7fa 100644 --- a/server/models/redundancy/video-redundancy.ts +++ b/server/models/redundancy/video-redundancy.ts | |||
@@ -408,6 +408,7 @@ export class VideoRedundancyModel extends Model<VideoRedundancyModel> { | |||
408 | url: { | 408 | url: { |
409 | type: 'Link', | 409 | type: 'Link', |
410 | mimeType: VIDEO_EXT_MIMETYPE[ this.VideoFile.extname ] as any, | 410 | mimeType: VIDEO_EXT_MIMETYPE[ this.VideoFile.extname ] as any, |
411 | mediaType: VIDEO_EXT_MIMETYPE[ this.VideoFile.extname ] as any, | ||
411 | href: this.fileUrl, | 412 | href: this.fileUrl, |
412 | height: this.VideoFile.resolution, | 413 | height: this.VideoFile.resolution, |
413 | size: this.VideoFile.size, | 414 | size: this.VideoFile.size, |