Skip to content

Commit

Permalink
Don't filter on jukeboxeable asset
Browse files Browse the repository at this point in the history
  • Loading branch information
toresbe committed Jul 27, 2023
1 parent ec4296b commit 960aba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/scheduling/helpers/getJukeboxableVideos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export const getJukeboxableVideos = async () => {
query.from(videoModel.tableName).where("videos.jukeboxable", true)
const videos = await videoModel.parseFromQuery(query)

return videos.filter((v) => v.assets.some((a) => a.type === "broadcastable"))
return videos
}

0 comments on commit 960aba3

Please sign in to comment.