aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-11 14:16:31 +0200
committerChocobozzz <me@florianbigard.com>2021-10-11 14:16:31 +0200
commit1db57e6f966875613b6e5f789a90410355d445ef (patch)
tree5de1394c528e72b9d069b20939802e53f8bb1582 /server/models/video
parent4d6952361e5b2d35513036ab5e79da5bcb5bfe81 (diff)
downloadPeerTube-1db57e6f966875613b6e5f789a90410355d445ef.tar.gz
PeerTube-1db57e6f966875613b6e5f789a90410355d445ef.tar.zst
PeerTube-1db57e6f966875613b6e5f789a90410355d445ef.zip
Fix useless condition
Diffstat (limited to 'server/models/video')
-rw-r--r--server/models/video/sql/shared/video-model-builder.ts2
1 files changed, 1 insertions, 1 deletions
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 {
120 private grabSeparateStreamingPlaylistFiles (rowsStreamingPlaylist?: SQLRow[]) { 120 private grabSeparateStreamingPlaylistFiles (rowsStreamingPlaylist?: SQLRow[]) {
121 if (!rowsStreamingPlaylist) return 121 if (!rowsStreamingPlaylist) return
122 122
123 for (const row of rowsStreamingPlaylist || []) { 123 for (const row of rowsStreamingPlaylist) {
124 const id = row['VideoStreamingPlaylists.id'] 124 const id = row['VideoStreamingPlaylists.id']
125 if (!id) continue 125 if (!id) continue
126 126