diff --git a/server/models/video/sql/shared/video-model-builder.ts b/server/models/video/sql/shared/video-model-builder.ts index e7e2aa1ca..33a0181e9 100644 --- a/server/models/video/sql/shared/video-model-builder.ts +++ b/server/models/video/sql/shared/video-model-builder.ts @@ -120,7 +120,7 @@ export class VideoModelBuilder { private grabSeparateStreamingPlaylistFiles (rowsStreamingPlaylist?: SQLRow[]) { if (!rowsStreamingPlaylist) return - for (const row of rowsStreamingPlaylist || []) { + for (const row of rowsStreamingPlaylist) { const id = row['VideoStreamingPlaylists.id'] if (!id) continue