aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/models/redundancy/video-redundancy.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/redundancy/video-redundancy.ts b/server/models/redundancy/video-redundancy.ts
index 74895fe30..53293df37 100644
--- a/server/models/redundancy/video-redundancy.ts
+++ b/server/models/redundancy/video-redundancy.ts
@@ -709,9 +709,9 @@ export class VideoRedundancyModel extends Model {
709 } 709 }
710 710
711 getVideo () { 711 getVideo () {
712 if (this.VideoFile) return this.VideoFile.Video 712 if (this.VideoFile?.Video) return this.VideoFile.Video
713 713
714 if (this.VideoStreamingPlaylist.Video) return this.VideoStreamingPlaylist.Video 714 if (this.VideoStreamingPlaylist?.Video) return this.VideoStreamingPlaylist.Video
715 715
716 return undefined 716 return undefined
717 } 717 }