From 31d5d916c39c90546ac22e80a375997911cd2483 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 11 Jun 2021 16:31:41 +0200 Subject: [PATCH] Fix redundancy row grabbing --- server/models/video/sql/shared/video-model-builder.ts | 8 ++------ 1 file 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 { 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]) } }