diff options
-rw-r--r-- | server/models/video/sql/shared/video-model-builder.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/server/models/video/sql/shared/video-model-builder.ts b/server/models/video/sql/shared/video-model-builder.ts index cc71192c0..e7e2aa1ca 100644 --- a/server/models/video/sql/shared/video-model-builder.ts +++ b/server/models/video/sql/shared/video-model-builder.ts | |||
@@ -113,7 +113,7 @@ export class VideoModelBuilder { | |||
113 | 113 | ||
114 | const videoModel = this.videosMemo[row.id] | 114 | const videoModel = this.videosMemo[row.id] |
115 | this.addWebTorrentFile(row, videoModel) | 115 | this.addWebTorrentFile(row, videoModel) |
116 | this.addRedundancy(row, 'VideoFiles.RedundancyVideos', this.videoFileMemo[id]) | 116 | this.addRedundancy(row, 'VideoFiles', this.videoFileMemo[id]) |
117 | } | 117 | } |
118 | } | 118 | } |
119 | 119 | ||
@@ -128,11 +128,7 @@ export class VideoModelBuilder { | |||
128 | 128 | ||
129 | this.addStreamingPlaylist(row, videoModel) | 129 | this.addStreamingPlaylist(row, videoModel) |
130 | this.addStreamingPlaylistFile(row) | 130 | this.addStreamingPlaylistFile(row) |
131 | this.addRedundancy( | 131 | this.addRedundancy(row, 'VideoStreamingPlaylists', this.videoStreamingPlaylistMemo[id]) |
132 | row, | ||
133 | 'VideoStreamingPlaylists.RedundancyVideos', | ||
134 | this.videoStreamingPlaylistMemo[id] | ||
135 | ) | ||
136 | } | 132 | } |
137 | } | 133 | } |
138 | 134 | ||