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 { const videoModel = this.videosMemo[row.id] this.addWebTorrentFile(row, videoModel) - this.addRedundancy(row, 'VideoFiles.RedundancyVideos', this.videoFileMemo[id]) + this.addRedundancy(row, 'VideoFiles', this.videoFileMemo[id]) } } @@ -128,11 +128,7 @@ export class VideoModelBuilder { this.addStreamingPlaylist(row, videoModel) this.addStreamingPlaylistFile(row) - this.addRedundancy( - row, - 'VideoStreamingPlaylists.RedundancyVideos', - this.videoStreamingPlaylistMemo[id] - ) + this.addRedundancy(row, 'VideoStreamingPlaylists', this.videoStreamingPlaylistMemo[id]) } }