aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video-format-utils.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-18 11:28:00 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-02-18 13:38:09 +0100
commit8efc27bf14f1fe3ed23cd8a6d2de1f0918a7f769 (patch)
tree863daf231cf4a66d9e5abf1cfe4fbe2b742cd856 /server/models/video/video-format-utils.ts
parentf66db4d5c851fe87bb71cccee96926000f59a15b (diff)
downloadPeerTube-8efc27bf14f1fe3ed23cd8a6d2de1f0918a7f769.tar.gz
PeerTube-8efc27bf14f1fe3ed23cd8a6d2de1f0918a7f769.tar.zst
PeerTube-8efc27bf14f1fe3ed23cd8a6d2de1f0918a7f769.zip
Cleanup
Diffstat (limited to 'server/models/video/video-format-utils.ts')
-rw-r--r--server/models/video/video-format-utils.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/models/video/video-format-utils.ts b/server/models/video/video-format-utils.ts
index 455597d22..a6a1a4f0d 100644
--- a/server/models/video/video-format-utils.ts
+++ b/server/models/video/video-format-utils.ts
@@ -14,11 +14,11 @@ import {
14} from '../../lib/activitypub/url' 14} from '../../lib/activitypub/url'
15import { 15import {
16 MStreamingPlaylistRedundanciesOpt, 16 MStreamingPlaylistRedundanciesOpt,
17 MVideo,
17 MVideoAP, 18 MVideoAP,
18 MVideoFile, 19 MVideoFile,
19 MVideoFormattable, 20 MVideoFormattable,
20 MVideoFormattableDetails, 21 MVideoFormattableDetails
21 MVideoWithHost
22} from '../../types/models' 22} from '../../types/models'
23import { MVideoFileRedundanciesOpt } from '../../types/models/video/video-file' 23import { MVideoFileRedundanciesOpt } from '../../types/models/video/video-file'
24import { VideoModel } from './video' 24import { VideoModel } from './video'
@@ -225,7 +225,7 @@ function videoFilesModelToFormattedJSON (
225 225
226function addVideoFilesInAPAcc ( 226function addVideoFilesInAPAcc (
227 acc: ActivityUrlObject[] | ActivityTagObject[], 227 acc: ActivityUrlObject[] | ActivityTagObject[],
228 video: MVideoWithHost, 228 video: MVideo,
229 files: MVideoFile[] 229 files: MVideoFile[]
230) { 230) {
231 const trackerUrls = video.getTrackerUrls() 231 const trackerUrls = video.getTrackerUrls()