From 1db57e6f966875613b6e5f789a90410355d445ef Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 11 Oct 2021 14:16:31 +0200 Subject: [PATCH] Fix useless condition --- server/models/video/sql/shared/video-model-builder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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