mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Cleanup
This commit is contained in:
parent
f66db4d5c8
commit
8efc27bf14
13 changed files with 23 additions and 21 deletions
|
@ -14,11 +14,11 @@ import {
|
|||
} from '../../lib/activitypub/url'
|
||||
import {
|
||||
MStreamingPlaylistRedundanciesOpt,
|
||||
MVideo,
|
||||
MVideoAP,
|
||||
MVideoFile,
|
||||
MVideoFormattable,
|
||||
MVideoFormattableDetails,
|
||||
MVideoWithHost
|
||||
MVideoFormattableDetails
|
||||
} from '../../types/models'
|
||||
import { MVideoFileRedundanciesOpt } from '../../types/models/video/video-file'
|
||||
import { VideoModel } from './video'
|
||||
|
@ -225,7 +225,7 @@ function videoFilesModelToFormattedJSON (
|
|||
|
||||
function addVideoFilesInAPAcc (
|
||||
acc: ActivityUrlObject[] | ActivityTagObject[],
|
||||
video: MVideoWithHost,
|
||||
video: MVideo,
|
||||
files: MVideoFile[]
|
||||
) {
|
||||
const trackerUrls = video.getTrackerUrls()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue