diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-18 11:28:00 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-02-18 13:38:09 +0100 |
commit | 8efc27bf14f1fe3ed23cd8a6d2de1f0918a7f769 (patch) | |
tree | 863daf231cf4a66d9e5abf1cfe4fbe2b742cd856 /server/models/video/video-format-utils.ts | |
parent | f66db4d5c851fe87bb71cccee96926000f59a15b (diff) | |
download | PeerTube-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.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() |