Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix redundancy row grabbing

Chocobozzz31d5d916c39c
diff --git a/server/models/video/sql/shared/video-model-builder.ts b/server/models/video/sql/shared/video-model-builder.ts
index cc71192c0d..e7e2aa1ca6 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])
}
}