Fix useless condition

This commit is contained in:
Chocobozzz 2021-10-11 14:16:31 +02:00
parent 4d6952361e
commit 1db57e6f96
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ export class VideoModelBuilder {
private grabSeparateStreamingPlaylistFiles (rowsStreamingPlaylist?: SQLRow[]) { private grabSeparateStreamingPlaylistFiles (rowsStreamingPlaylist?: SQLRow[]) {
if (!rowsStreamingPlaylist) return if (!rowsStreamingPlaylist) return
for (const row of rowsStreamingPlaylist || []) { for (const row of rowsStreamingPlaylist) {
const id = row['VideoStreamingPlaylists.id'] const id = row['VideoStreamingPlaylists.id']
if (!id) continue if (!id) continue