diff options
Diffstat (limited to 'server/types/models')
-rw-r--r-- | server/types/models/video/video-streaming-playlist.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/types/models/video/video-streaming-playlist.ts b/server/types/models/video/video-streaming-playlist.ts index 8b3ef51fc..1e4dccb8e 100644 --- a/server/types/models/video/video-streaming-playlist.ts +++ b/server/types/models/video/video-streaming-playlist.ts | |||
@@ -39,5 +39,5 @@ export type MStreamingPlaylistRedundanciesOpt = | |||
39 | PickWithOpt<VideoStreamingPlaylistModel, 'RedundancyVideos', MVideoRedundancyFileUrl[]> | 39 | PickWithOpt<VideoStreamingPlaylistModel, 'RedundancyVideos', MVideoRedundancyFileUrl[]> |
40 | 40 | ||
41 | export function isStreamingPlaylist (value: MVideo | MStreamingPlaylistVideo): value is MStreamingPlaylistVideo { | 41 | export function isStreamingPlaylist (value: MVideo | MStreamingPlaylistVideo): value is MStreamingPlaylistVideo { |
42 | return !!(value as MStreamingPlaylist).playlistUrl | 42 | return !!(value as MStreamingPlaylist).videoId |
43 | } | 43 | } |