diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-11 16:02:26 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-11 16:02:26 +0200 |
commit | 668f864f5a50bd34ffd7c32c91bfff122118d4bf (patch) | |
tree | 8ee891b0aee157950b34d5b106135b86206f40d2 /server/models/video/sql/shared/video-file-query-builder.ts | |
parent | b8afe6f0cd32177a3670ac0850db5b58678db5f8 (diff) | |
download | PeerTube-668f864f5a50bd34ffd7c32c91bfff122118d4bf.tar.gz PeerTube-668f864f5a50bd34ffd7c32c91bfff122118d4bf.tar.zst PeerTube-668f864f5a50bd34ffd7c32c91bfff122118d4bf.zip |
Fix live files include
Diffstat (limited to 'server/models/video/sql/shared/video-file-query-builder.ts')
-rw-r--r-- | server/models/video/sql/shared/video-file-query-builder.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/video/sql/shared/video-file-query-builder.ts b/server/models/video/sql/shared/video-file-query-builder.ts index a62fa64f8..6b15c3b69 100644 --- a/server/models/video/sql/shared/video-file-query-builder.ts +++ b/server/models/video/sql/shared/video-file-query-builder.ts | |||
@@ -32,7 +32,7 @@ export class VideoFileQueryBuilder extends AbstractVideosModelQueryBuilder { | |||
32 | '"video"."id"': '' | 32 | '"video"."id"': '' |
33 | } | 33 | } |
34 | 34 | ||
35 | this.includeWebtorrentFiles(true) | 35 | this.includeWebtorrentFiles() |
36 | 36 | ||
37 | if (this.shouldIncludeRedundancies(options)) { | 37 | if (this.shouldIncludeRedundancies(options)) { |
38 | this.includeWebTorrentRedundancies() | 38 | this.includeWebTorrentRedundancies() |
@@ -48,7 +48,7 @@ export class VideoFileQueryBuilder extends AbstractVideosModelQueryBuilder { | |||
48 | '"video"."id"': '' | 48 | '"video"."id"': '' |
49 | } | 49 | } |
50 | 50 | ||
51 | this.includeStreamingPlaylistFiles(true) | 51 | this.includeStreamingPlaylistFiles() |
52 | 52 | ||
53 | if (this.shouldIncludeRedundancies(options)) { | 53 | if (this.shouldIncludeRedundancies(options)) { |
54 | this.includeStreamingPlaylistRedundancies() | 54 | this.includeStreamingPlaylistRedundancies() |