diff options
Diffstat (limited to 'server/models/video/video-format-utils.ts')
-rw-r--r-- | server/models/video/video-format-utils.ts | 6 |
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' |
15 | import { | 15 | import { |
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' |
23 | import { MVideoFileRedundanciesOpt } from '../../types/models/video/video-file' | 23 | import { MVideoFileRedundanciesOpt } from '../../types/models/video/video-file' |
24 | import { VideoModel } from './video' | 24 | import { VideoModel } from './video' |
@@ -225,7 +225,7 @@ function videoFilesModelToFormattedJSON ( | |||
225 | 225 | ||
226 | function addVideoFilesInAPAcc ( | 226 | function 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() |